C# Class Commencement.Controllers.ViewModels.RegistrationModel

Show file Open project: ucdavis/Commencement Class Usage Examples

Public Methods

Method Description
Create ( IRepository repository, IList ceremonies, Student student, Registration registration = null, List ceremonyParticipations = null, bool edit = false, bool admin = false ) : RegistrationModel

Private Methods

Method Description
CreateCeremonyParticipation ( int index, bool edit, Student student, MajorCode major, Ceremony ceremony, Registration registration, List ceremonyParticipations, IRepository repository, bool admin = false ) : CeremonyParticipation
GetCeremony ( IRepository repository, MajorCode major ) : Ceremony

Method Details

Create() public static method

public static Create ( IRepository repository, IList ceremonies, Student student, Registration registration = null, List ceremonyParticipations = null, bool edit = false, bool admin = false ) : RegistrationModel
repository IRepository
ceremonies IList
student Student
registration Registration
ceremonyParticipations List
edit bool
admin bool
return RegistrationModel