C# Class Sample.WebUI.Controllers.HomeController

Inheritance: Controller
Exibir arquivo Open project: MarkFreedman/Wrestling-With-Telerik-MVC-Grid-Control

Public Methods

Method Description
CheckDuplicateCustomerName ( CustomerViewModel model ) : System.Web.Mvc.JsonResult
GetOrderChannels ( ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AjaxAddCustomer ( string lastName, string firstName ) : System.Web.Mvc.ActionResult
AjaxAddOrder ( int customerId ) : System.Web.Mvc.ActionResult
AjaxCustomersHierarchy ( ) : System.Web.Mvc.ActionResult
AjaxDeleteCustomer ( int customerId ) : System.Web.Mvc.ActionResult
AjaxDeleteOrder ( int customerId, int orderId ) : System.Web.Mvc.ActionResult
AjaxOrdersForCustomerHierarchy ( int customerId ) : System.Web.Mvc.ActionResult
AjaxSaveCustomer ( int customerId, string lastName, string firstName ) : System.Web.Mvc.ActionResult
AjaxSaveOrder ( int customerId, int orderId ) : System.Web.Mvc.ActionResult
GetCustomers ( ) : IEnumerable
GetOrders ( int customerId ) : IEnumerable
ValidateCustomer ( CustomerViewModel model ) : bool

Method Details

CheckDuplicateCustomerName() public method

public CheckDuplicateCustomerName ( CustomerViewModel model ) : System.Web.Mvc.JsonResult
model CustomerViewModel
return System.Web.Mvc.JsonResult

GetOrderChannels() public method

public GetOrderChannels ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

Index() public method

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