C# Class Commencement.Controllers.CeremonyController

Inheritance: ApplicationController
显示文件 Open project: ucdavis/Commencement

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AddEditor() public method

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

CanceledRegistrations() public method

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

CeremonyController() public method

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
return System

Create() public method

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

Edit() public method

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

EditPermissions() public method

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

GetMajors() public method

Ajax method for returning majors by college
public GetMajors ( string colleges ) : JsonNetResult
colleges string
return JsonNetResult

Index() public method

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