C# Class KnowYourTurf.Web.Controllers.EmployeeController

Inheritance: KYTController
ファイルを表示 Open project: reharik/KnowYourTurf

Public Methods

Method Description
AddEdit ( ViewModel input ) : System.Web.Mvc.ActionResult
Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
Display ( ViewModel input ) : System.Web.Mvc.ActionResult
EmployeeController ( IRepository repository, ISaveEntityService saveEntityService, IUploadedFileHandlerService uploadedFileHandlerService, ISelectBoxPickerService selectBoxPickerService, IHttpContextAbstractor httpContextAbstractor ) : System.Linq
Save ( EmployeeViewModel input ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
mapToDomain ( EmployeeViewModel model, Employee employee ) : Employee

Method Details

AddEdit() public method

public AddEdit ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
return System.Web.Mvc.ActionResult

Display() public method

public Display ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
return System.Web.Mvc.ActionResult

EmployeeController() public method

public EmployeeController ( IRepository repository, ISaveEntityService saveEntityService, IUploadedFileHandlerService uploadedFileHandlerService, ISelectBoxPickerService selectBoxPickerService, IHttpContextAbstractor httpContextAbstractor ) : System.Linq
repository IRepository
saveEntityService ISaveEntityService
uploadedFileHandlerService IUploadedFileHandlerService
selectBoxPickerService ISelectBoxPickerService
httpContextAbstractor IHttpContextAbstractor
return System.Linq

Save() public method

public Save ( EmployeeViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Web.Models.EmployeeViewModel
return System.Web.Mvc.ActionResult