C# Class Dahlia.Controllers.RetreatController

Inheritance: Controller
Afficher le fichier Open project: HarmonyHacks/Dahlia

Méthodes publiques

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

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

public AddParticipant ( int retreatId ) : System.Web.Mvc.ViewResult
retreatId int
Résultat System.Web.Mvc.ViewResult

AddParticipantChooseBedCode() public méthode

public AddParticipantChooseBedCode ( int retreatId, int participantId ) : System.Web.Mvc.ViewResult
retreatId int
participantId int
Résultat System.Web.Mvc.ViewResult

Create() public méthode

public Create ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Delete() public méthode

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult

GenerateReport() public méthode

public GenerateReport ( ) : System.Web.Mvc.FileResult
Résultat System.Web.Mvc.FileResult

GenerateReportFor() public méthode

public GenerateReportFor ( int retreat ) : System.Web.Mvc.FileResult
retreat int
Résultat System.Web.Mvc.FileResult

Index() public méthode

public Index ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult

RemoveParticipant() public méthode

public RemoveParticipant ( int retreatId, int participantId ) : System.Web.Mvc.ActionResult
retreatId int
participantId int
Résultat System.Web.Mvc.ActionResult

RetreatController() public méthode

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