C# Class KnowYourTurf.Web.Controllers.EventController

Inheritance: KYTController
Afficher le fichier Open project: reharik/KnowYourTurf

Méthodes publiques

Méthode 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

Méthode Description
mapToDomain ( EventViewModel model, Event _event ) : Event

Method Details

AddEdit() public méthode

public AddEdit ( AddEditEventViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Web.Models.AddEditEventViewModel
Résultat System.Web.Mvc.ActionResult

Delete() public méthode

public Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
Résultat System.Web.Mvc.ActionResult

Display() public méthode

public Display ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
Résultat System.Web.Mvc.ActionResult

EventController() public méthode

public EventController ( IRepository repository, ISaveEntityService saveEntityService, ISelectListItemService selectListItemService ) : System
repository IRepository
saveEntityService ISaveEntityService
selectListItemService ISelectListItemService
Résultat System

Save() public méthode

public Save ( EventViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Web.Models.EventViewModel
Résultat System.Web.Mvc.ActionResult