C# Class CapRaffle.Controllers.DrawWinnerController

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

Public Methods

Method Description
DrawWinnerController ( IDrawingRepository drawRepo ) : System
ReplayRaffle ( int eventId, string view ) : System.Web.Mvc.PartialViewResult

Private Methods

Method Description
DrawWinner ( int eventId, string view ) : System.Web.Mvc.PartialViewResult
GenerateDrawWinnerViewModel ( int eventId ) : DrawWinnerViewModel
NotifyParticipants ( int eventid ) : System.Web.Mvc.ActionResult
RemoveWinner ( Winner winner ) : System.Web.Mvc.JsonResult
Rules ( int eventId ) : System.Web.Mvc.PartialViewResult
SaveRules ( int eventid, List rules ) : System.Web.Mvc.JsonResult

Method Details

DrawWinnerController() public method

public DrawWinnerController ( IDrawingRepository drawRepo ) : System
drawRepo IDrawingRepository
return System

ReplayRaffle() public method

public ReplayRaffle ( int eventId, string view ) : System.Web.Mvc.PartialViewResult
eventId int
view string
return System.Web.Mvc.PartialViewResult