public EmployeeRoleSelections()
        {
            employee       = new Employee();
            roleSelections = new List <RoleSelection>();
            StudentRecordContext context = new StudentRecordContext();

            foreach (Role role in context.Role)
            {
                RoleSelection roleSelection = new RoleSelection(role);
                roleSelections.Add(roleSelection);
            }
        }
Exemple #2
0
 public CoursesController(StudentRecordContext context)
 {
     _context = context;
 }
Exemple #3
0
 public AcademicRecordsController(StudentRecordContext context)
 {
     _context = context;
 }
 public EmployeesController(StudentRecordContext context)
 {
     _context = context;
 }
 public StudentsController(StudentRecordContext context)
 {
     _context = context;
 }