C# Class Dahlia.Controllers.RetreatController

Inheritance: Controller
Mostrar archivo Open project: HarmonyHacks/Dahlia

Public Methods

Method Description
AddParticipant ( int retreatId ) : System.Web.Mvc.ViewResult
AddParticipantChooseBedCode ( int retreatId, int participantId ) : System.Web.Mvc.ViewResult
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
GenerateReport ( ) : System.Web.Mvc.FileResult
GenerateReportFor ( int retreat ) : System.Web.Mvc.FileResult
Index ( int id ) : System.Web.Mvc.ActionResult
RemoveParticipant ( int retreatId, int participantId ) : System.Web.Mvc.ActionResult
RetreatController ( IRetreatRepository retreatRepository, IParticipantRepository participantRepository, IBedRepository bedRepository, IControllerCommandInvoker commandInvoker, IReportGeneratorService reportGenerator ) : System

Private Methods

Method Description
AddParticipant ( AddParticipantViewModel viewModel ) : System.Web.Mvc.ActionResult
AddParticipantChooseBedCode ( AddParticipantChooseBedCodeViewModel viewModel ) : System.Web.Mvc.ActionResult
Create ( Retreat viewModel ) : System.Web.Mvc.ActionResult
Delete ( DeleteRetreatViewModel viewModel ) : System.Web.Mvc.ActionResult
DoAddNew ( AddParticipantViewModel viewModel ) : System.Web.Mvc.ActionResult
DoCancel ( AddParticipantViewModel viewModel ) : System.Web.Mvc.ActionResult
DoSearch ( AddParticipantViewModel viewModel ) : System.Web.Mvc.ActionResult
GetModel ( ) : RetreatListViewModel
GetRetreats ( ) : IEnumerable
MakeAddParticipantViewModel ( int retreatId ) : AddParticipantViewModel
RemoveParticipant ( RemoveParticipantFromRetreatViewModel viewModel ) : System.Web.Mvc.ActionResult

Method Details

AddParticipant() public method

public AddParticipant ( int retreatId ) : System.Web.Mvc.ViewResult
retreatId int
return System.Web.Mvc.ViewResult

AddParticipantChooseBedCode() public method

public AddParticipantChooseBedCode ( int retreatId, int participantId ) : System.Web.Mvc.ViewResult
retreatId int
participantId int
return System.Web.Mvc.ViewResult

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

GenerateReport() public method

public GenerateReport ( ) : System.Web.Mvc.FileResult
return System.Web.Mvc.FileResult

GenerateReportFor() public method

public GenerateReportFor ( int retreat ) : System.Web.Mvc.FileResult
retreat int
return System.Web.Mvc.FileResult

Index() public method

public Index ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

RemoveParticipant() public method

public RemoveParticipant ( int retreatId, int participantId ) : System.Web.Mvc.ActionResult
retreatId int
participantId int
return System.Web.Mvc.ActionResult

RetreatController() public method

public RetreatController ( IRetreatRepository retreatRepository, IParticipantRepository participantRepository, IBedRepository bedRepository, IControllerCommandInvoker commandInvoker, IReportGeneratorService reportGenerator ) : System
retreatRepository IRetreatRepository
participantRepository IParticipantRepository
bedRepository IBedRepository
commandInvoker IControllerCommandInvoker
reportGenerator IReportGeneratorService
return System