C# Класс KnowYourTurf.Web.Controllers.EmployeeController

Наследование: KYTController
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
mapToDomain ( EmployeeViewModel model, Employee employee ) : Employee

Описание методов

AddEdit() публичный Метод

public AddEdit ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
Результат System.Web.Mvc.ActionResult

Delete() публичный Метод

public Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
Результат System.Web.Mvc.ActionResult

Display() публичный Метод

public Display ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
Результат System.Web.Mvc.ActionResult

EmployeeController() публичный Метод

public EmployeeController ( IRepository repository, ISaveEntityService saveEntityService, IUploadedFileHandlerService uploadedFileHandlerService, ISelectBoxPickerService selectBoxPickerService, IHttpContextAbstractor httpContextAbstractor ) : System.Linq
repository IRepository
saveEntityService ISaveEntityService
uploadedFileHandlerService IUploadedFileHandlerService
selectBoxPickerService ISelectBoxPickerService
httpContextAbstractor IHttpContextAbstractor
Результат System.Linq

Save() публичный Метод

public Save ( EmployeeViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Web.Models.EmployeeViewModel
Результат System.Web.Mvc.ActionResult