C# Class KnowYourTurf.Web.Controllers.FieldController

Inheritance: KYTController
Show file Open project: reharik/KnowYourTurf

Public Methods

Method Description
AddEdit ( ViewModel input ) : System.Web.Mvc.ActionResult
Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
FieldController ( IRepository repository, ISaveEntityService saveEntityService, IUploadedFileHandlerService uploadedFileHandlerService, IHttpContextAbstractor httpContextAbstractor ) : System
Save ( FieldViewModel 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

FieldController() public method

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

Save() public method

public Save ( FieldViewModel input ) : System.Web.Mvc.ActionResult
input FieldViewModel
return System.Web.Mvc.ActionResult