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

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

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

Метод Описание
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

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

Метод Описание
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

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

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

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

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

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
Результат System

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

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

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

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

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

GET: /Admin/ #1
public Index ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

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
Результат System.Web.Mvc.ActionResult

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

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

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

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

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

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
Результат System.Web.Mvc.ActionResult

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

public SearchStudent ( string studentId ) : System.Web.Mvc.RedirectToRouteResult
studentId string
Результат System.Web.Mvc.RedirectToRouteResult

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

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.
Результат System.Web.Mvc.ActionResult

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

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
Результат System.Web.Mvc.ActionResult

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

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

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

public ValidateMoveMajor ( string majorCode, int ceremonyId ) : System.Web.Mvc.JsonResult
majorCode string
ceremonyId int
Результат System.Web.Mvc.JsonResult

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

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

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

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

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

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

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

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
Результат System.Web.Mvc.ActionResult