C# 클래스 Dahlia.Controllers.RetreatController

상속: Controller
파일 보기 프로젝트 열기: HarmonyHacks/Dahlia

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddParticipant() 공개 메소드

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

AddParticipantChooseBedCode() 공개 메소드

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

Create() 공개 메소드

public Create ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Delete() 공개 메소드

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

GenerateReport() 공개 메소드

public GenerateReport ( ) : System.Web.Mvc.FileResult
리턴 System.Web.Mvc.FileResult

GenerateReportFor() 공개 메소드

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

Index() 공개 메소드

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

RemoveParticipant() 공개 메소드

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

RetreatController() 공개 메소드

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