C# Class Website.Controllers.CustomerController

Inheritance: Controller
Show file Open project: jeffreypalermo/mvc2inaction

Public Methods

Method Description
CustomerController ( IDataQuery query ) : System.Linq
Edit ( long id ) : System.Web.Mvc.ViewResult
Index ( ) : System.Web.Mvc.ViewResult
New ( ) : System.Web.Mvc.ViewResult
Save ( CustomerInput input ) : CommandResult

Method Details

CustomerController() public method

public CustomerController ( IDataQuery query ) : System.Linq
query IDataQuery
return System.Linq

Edit() public method

public Edit ( long id ) : System.Web.Mvc.ViewResult
id long
return System.Web.Mvc.ViewResult

Index() public method

public Index ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

New() public method

public New ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

Save() public method

public Save ( CustomerInput input ) : CommandResult
input CustomerInput
return CommandResult