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); } }
public CoursesController(StudentRecordContext context) { _context = context; }
public AcademicRecordsController(StudentRecordContext context) { _context = context; }
public EmployeesController(StudentRecordContext context) { _context = context; }
public StudentsController(StudentRecordContext context) { _context = context; }