C# Class KnowYourTurf.Web.Controllers.SeedController

Inheritance: KYTController
Datei anzeigen 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
Save ( SeedViewModel input ) : System.Web.Mvc.ActionResult
SeedController ( IRepository repository, ISaveEntityService saveEntityService ) : System

Private Methods

Method Description
mapItem ( Seed seed, SeedViewModel 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

Save() public method

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

SeedController() public method

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