C# Class KnowYourTurf.Web.Controllers.MaterialController

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
MaterialController ( IRepository repository, ISaveEntityService saveEntityService ) : System
Save ( MaterialViewModel input ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
mapItem ( Material material, MaterialViewModel input ) : void

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

MaterialController() public method

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

Save() public method

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