C# Class KnowYourTurf.Web.Controllers.WeatherController

Inheritance: KYTController
Mostrar archivo 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 ( WeatherViewModel input ) : System.Web.Mvc.ActionResult
WeatherController ( IRepository repository, ISaveEntityService saveEntityService ) : System

Private Methods

Method Description
mapToDomain ( WeatherViewModel input, Weather weather ) : Weather

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 ( WeatherViewModel input ) : System.Web.Mvc.ActionResult
input WeatherViewModel
return System.Web.Mvc.ActionResult

WeatherController() public method

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