Skip to content

Instantly share code, notes, and snippets.

View rabbal's full-sized avatar
🏠
Working from home

Salar Rabbal rabbal

🏠
Working from home
View GitHub Profile
@rabbal
rabbal / CustomerController.cs
Last active September 12, 2015 00:36 — forked from mgroves/CustomerController.cs
Audit ActionFilter in ASP.NET MVC
public class CustomerController : Controller
{
public ViewResult Index()
{
return View();
}
public ViewResult Edit()
{
var existingCustomer = new Customer();
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Web;
using System.Web.Mvc;
namespace AppHarbor.Web.Mvc
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Web;
using System.Web.Mvc;
namespace AppHarbor.Web.Mvc