C# Class Commencement.Controllers.AdminController

Inheritance: ApplicationController
Afficher le fichier Open project: ucdavis/Commencement

Méthodes publiques

Méthode Description
AddStudent ( string studentId ) : System.Web.Mvc.ActionResult
AdminController ( Guid>.IRepositoryWithTypedId studentRepository, string>.IRepositoryWithTypedId majorRepository, IStudentService studentService, IEmailService emailService, IMajorService majorService, ICeremonyService ceremonyService, IRegistrationService registrationService, IRegistrationPopulator registrationPopulator, IRepository registrationRepository, IErrorService errorService, IReportService reportService ) : System
Block ( System.Guid id ) : System.Web.Mvc.ActionResult
EditStudent ( System.Guid id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

GET: /Admin/ #1

Majors ( ) : System.Web.Mvc.ActionResult

I don't see that this is called from anywhere, not sure if it is needed or usefull... -JCS 2016/07/05

MoveMajor ( ) : System.Web.Mvc.ActionResult
RegisterForStudent ( System.Guid id ) : System.Web.Mvc.ActionResult
Registrations ( string studentid, string lastName, string firstName, string majorCode, int ceremonyId, string collegeCode ) : System.Web.Mvc.ActionResult
SearchStudent ( string studentId ) : System.Web.Mvc.RedirectToRouteResult
StudentDetails ( System.Guid id, bool registration ) : System.Web.Mvc.ActionResult

Students the details.

Students ( string studentid, string lastName, string firstName, string majorCode, string college ) : System.Web.Mvc.ActionResult

Students

TestException ( ) : System.Web.Mvc.ActionResult
ValidateMoveMajor ( string majorCode, int ceremonyId ) : System.Web.Mvc.JsonResult
VisaLetterDecide ( int id ) : System.Web.Mvc.ActionResult
VisaLetterDetails ( int id ) : System.Web.Mvc.ActionResult
VisaLetterPreviewPdf ( int id ) : System.Web.Mvc.ActionResult
VisaLetters ( System.DateTime startDate, System.DateTime endDate, string collegeCode, bool showAll = false ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
AddStudent ( string studentId, Student student ) : System.Web.Mvc.ActionResult
AdminLanding ( ) : System.Web.Mvc.ActionResult
Block ( System.Guid id, bool block, string reason ) : System.Web.Mvc.ActionResult
EditStudent ( System.Guid id, Student student ) : System.Web.Mvc.ActionResult
GetCeremonyForVisaLetter ( VisaLetter letter, bool useDefaultCeremony = false ) : Ceremony
MoveMajor ( string majorCode, int ceremonyId ) : System.Web.Mvc.ActionResult
RegisterForStudent ( System.Guid id, RegistrationPostModel registrationPostModel, bool supressEmail ) : System.Web.Mvc.ActionResult
ValidateMajorMove ( MajorCode majorCode, Ceremony destCeremony, Ceremony origCeremony, string &message ) : bool
VisaLetterDecide ( int id, AdminVisaLetterPostModel model ) : System.Web.Mvc.ActionResult

Method Details

AddStudent() public méthode

public AddStudent ( string studentId ) : System.Web.Mvc.ActionResult
studentId string
Résultat System.Web.Mvc.ActionResult

AdminController() public méthode

public AdminController ( Guid>.IRepositoryWithTypedId studentRepository, string>.IRepositoryWithTypedId majorRepository, IStudentService studentService, IEmailService emailService, IMajorService majorService, ICeremonyService ceremonyService, IRegistrationService registrationService, IRegistrationPopulator registrationPopulator, IRepository registrationRepository, IErrorService errorService, IReportService reportService ) : System
studentRepository Guid>.IRepositoryWithTypedId
majorRepository string>.IRepositoryWithTypedId
studentService IStudentService
emailService IEmailService
majorService IMajorService
ceremonyService ICeremonyService
registrationService IRegistrationService
registrationPopulator IRegistrationPopulator
registrationRepository IRepository
errorService IErrorService
reportService IReportService
Résultat System

Block() public méthode

public Block ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
Résultat System.Web.Mvc.ActionResult

EditStudent() public méthode

public EditStudent ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
Résultat System.Web.Mvc.ActionResult

Index() public méthode

GET: /Admin/ #1
public Index ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Majors() public méthode

I don't see that this is called from anywhere, not sure if it is needed or usefull... -JCS 2016/07/05
public Majors ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

MoveMajor() public méthode

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

RegisterForStudent() public méthode

public RegisterForStudent ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
Résultat System.Web.Mvc.ActionResult

Registrations() public méthode

public Registrations ( string studentid, string lastName, string firstName, string majorCode, int ceremonyId, string collegeCode ) : System.Web.Mvc.ActionResult
studentid string
lastName string
firstName string
majorCode string
ceremonyId int
collegeCode string
Résultat System.Web.Mvc.ActionResult

SearchStudent() public méthode

public SearchStudent ( string studentId ) : System.Web.Mvc.RedirectToRouteResult
studentId string
Résultat System.Web.Mvc.RedirectToRouteResult

StudentDetails() public méthode

Students the details.
public StudentDetails ( System.Guid id, bool registration ) : System.Web.Mvc.ActionResult
id System.Guid The id.
registration bool This value is used in the pages, not the controller. Don't remove it.
Résultat System.Web.Mvc.ActionResult

Students() public méthode

Students
public Students ( string studentid, string lastName, string firstName, string majorCode, string college ) : System.Web.Mvc.ActionResult
studentid string
lastName string
firstName string
majorCode string
college string
Résultat System.Web.Mvc.ActionResult

TestException() public méthode

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

ValidateMoveMajor() public méthode

public ValidateMoveMajor ( string majorCode, int ceremonyId ) : System.Web.Mvc.JsonResult
majorCode string
ceremonyId int
Résultat System.Web.Mvc.JsonResult

VisaLetterDecide() public méthode

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

VisaLetterDetails() public méthode

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

VisaLetterPreviewPdf() public méthode

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

VisaLetters() public méthode

public VisaLetters ( System.DateTime startDate, System.DateTime endDate, string collegeCode, bool showAll = false ) : System.Web.Mvc.ActionResult
startDate System.DateTime
endDate System.DateTime
collegeCode string
showAll bool
Résultat System.Web.Mvc.ActionResult