C# Класс Commencement.Controllers.CeremonyController

Наследование: ApplicationController
Показать файл Открыть проект

Открытые методы

Метод Описание
AddEditor ( int id ) : System.Web.Mvc.ActionResult
CanceledRegistrations ( int id ) : System.Web.Mvc.ActionResult
CeremonyController ( string>.IRepositoryWithTypedId termRepository, string>.IRepositoryWithTypedId vTermRepository, string>.IRepositoryWithTypedId collegeRepository, IMajorService majorService, ICeremonyService ceremonyService, IUserService userService ) : System
Create ( ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
EditPermissions ( int id ) : System.Web.Mvc.ActionResult
GetMajors ( string colleges ) : JsonNetResult

Ajax method for returning majors by college

Index ( ) : System.Web.Mvc.ActionResult

Приватные методы

Метод Описание
AddEditor ( int id, int userId ) : System.Web.Mvc.ActionResult
CopyCeremony ( Ceremony destCeremony, Ceremony srcCeremony, IList srcMajors, IList srcColleges, IList srcTicketDistributionMethods ) : void
Create ( CeremonyEditModel ceremonyEditModel ) : System.Web.Mvc.ActionResult
CreateDeadline ( System.DateTime src ) : System.DateTime
Edit ( CeremonyEditModel ceremonyEditModel ) : System.Web.Mvc.ActionResult
MergeCeremonyMajors ( IList destMajors, IList srcMajors, IList srcColleges ) : void
MergeTicketDistributionMethods ( IList dest, IList src ) : void
RemoveEditor ( int id, int ceremonyEditorId ) : System.Web.Mvc.ActionResult

Описание методов

AddEditor() публичный Метод

public AddEditor ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

CanceledRegistrations() публичный Метод

public CanceledRegistrations ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

CeremonyController() публичный Метод

public CeremonyController ( string>.IRepositoryWithTypedId termRepository, string>.IRepositoryWithTypedId vTermRepository, string>.IRepositoryWithTypedId collegeRepository, IMajorService majorService, ICeremonyService ceremonyService, IUserService userService ) : System
termRepository string>.IRepositoryWithTypedId
vTermRepository string>.IRepositoryWithTypedId
collegeRepository string>.IRepositoryWithTypedId
majorService IMajorService
ceremonyService ICeremonyService
userService IUserService
Результат System

Create() публичный Метод

public Create ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

Edit() публичный Метод

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

EditPermissions() публичный Метод

public EditPermissions ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

GetMajors() публичный Метод

Ajax method for returning majors by college
public GetMajors ( string colleges ) : JsonNetResult
colleges string
Результат JsonNetResult

Index() публичный Метод

public Index ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult