C# Class KnowYourTurf.Web.Controllers.EventController

Inheritance: KYTController
Exibir arquivo Open project: reharik/KnowYourTurf

Public Methods

Method Description
AddEdit ( AddEditEventViewModel input ) : System.Web.Mvc.ActionResult
Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
Display ( ViewModel input ) : System.Web.Mvc.ActionResult
EventController ( IRepository repository, ISaveEntityService saveEntityService, ISelectListItemService selectListItemService ) : System
Save ( EventViewModel input ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
mapToDomain ( EventViewModel model, Event _event ) : Event

Method Details

AddEdit() public method

public AddEdit ( AddEditEventViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Web.Models.AddEditEventViewModel
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

EventController() public method

public EventController ( IRepository repository, ISaveEntityService saveEntityService, ISelectListItemService selectListItemService ) : System
repository IRepository
saveEntityService ISaveEntityService
selectListItemService ISelectListItemService
return System

Save() public method

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