C# 클래스 Commencement.Controllers.AdminController

상속: ApplicationController
파일 보기 프로젝트 열기: ucdavis/Commencement

공개 메소드들

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