C# Class KnowYourTurf.Web.Controllers.ChemicalController

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

Public Methods

Method Description
AddEdit ( ViewModel input ) : System.Web.Mvc.ActionResult
ChemicalController ( IRepository repository, ISaveEntityService saveEntityService ) : System
Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
Display ( ViewModel input ) : System.Web.Mvc.ActionResult
Save ( ChemicalViewModel input ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
mapItem ( Chemical chemical, ChemicalViewModel input ) : void

Method Details

AddEdit() public method

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

ChemicalController() public method

public ChemicalController ( IRepository repository, ISaveEntityService saveEntityService ) : System
repository IRepository
saveEntityService ISaveEntityService
return System

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

Save() public method

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