C# Class CapRaffle.Controllers.ParticipantController

Inheritance: Controller
显示文件 Open project: capgemini-stavanger/CapRaffle Class Usage Examples

Public Methods

Method Description
GetParticipants ( int eventId ) : System.Web.Mvc.PartialViewResult
ParticipantController ( IEventRepository eventRepository, IAccountRepository accountrepository ) : System

Private Methods

Method Description
Create ( UserEvent participant ) : System.Web.Mvc.ActionResult
Delete ( UserEvent participant ) : System.Web.Mvc.JsonResult
GetUsers ( string email ) : System.Web.Mvc.JsonResult

Method Details

GetParticipants() public method

public GetParticipants ( int eventId ) : System.Web.Mvc.PartialViewResult
eventId int
return System.Web.Mvc.PartialViewResult

ParticipantController() public method

public ParticipantController ( IEventRepository eventRepository, IAccountRepository accountrepository ) : System
eventRepository IEventRepository
accountrepository IAccountRepository
return System