C# Class KnowYourTurf.Web.Controllers.EquipmentController

Inheritance: KYTController
Exibir arquivo 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
EquipmentController ( IRepository repository, ISaveEntityService saveEntityService, IUploadedFileHandlerService uploadedFileHandlerService, IHttpContextAbstractor httpContextAbstractor ) : System
Save ( EquipmentViewModel input ) : System.Web.Mvc.ActionResult

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

EquipmentController() public method

public EquipmentController ( IRepository repository, ISaveEntityService saveEntityService, IUploadedFileHandlerService uploadedFileHandlerService, IHttpContextAbstractor httpContextAbstractor ) : System
repository IRepository
saveEntityService ISaveEntityService
uploadedFileHandlerService IUploadedFileHandlerService
httpContextAbstractor IHttpContextAbstractor
return System

Save() public method

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