C# Class Machete.Web.Controllers.EmployerController

Inheritance: MacheteController
Mostrar archivo Open project: SavageLearning/Machete Class Usage Examples

Public Methods

Method Description
AjaxHandler ( jQueryDataTableParam param ) : System.Web.Mvc.JsonResult

GET: /Employer/AjaxHandler

EmployerController ( IEmployerService employerService, IWorkOrderService workorderService ) : System

Protected Methods

Method Description
Initialize ( System.Web.Routing.RequestContext requestContext ) : void

Private Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Create ( Employer employer, string userName ) : System.Web.Mvc.JsonResult
CreateCombined ( ) : System.Web.Mvc.ActionResult
CreateCombined ( EmployerWoCombined combined, string userName ) : System.Web.Mvc.JsonResult
Delete ( int id, string userName ) : System.Web.Mvc.JsonResult
DuplicateEmployers ( string name, string address, string phone, string city, string zipcode ) : string>>.List
Edit ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id, System.Web.Mvc.FormCollection collection, string userName ) : System.Web.Mvc.JsonResult
GetDuplicates ( string name, string address, string phone, string city, string zipcode ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
_getTabLabel ( Employer emp ) : string
_getTabRef ( Employer emp ) : string

Method Details

AjaxHandler() public method

GET: /Employer/AjaxHandler
public AjaxHandler ( jQueryDataTableParam param ) : System.Web.Mvc.JsonResult
param Machete.Web.Helpers.jQueryDataTableParam
return System.Web.Mvc.JsonResult

EmployerController() public method

public EmployerController ( IEmployerService employerService, IWorkOrderService workorderService ) : System
employerService IEmployerService
workorderService IWorkOrderService
return System

Initialize() protected method

protected Initialize ( System.Web.Routing.RequestContext requestContext ) : void
requestContext System.Web.Routing.RequestContext
return void