コード例 #1
0
        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);
            }
        }
コード例 #2
0
ファイル: CoursesController.cs プロジェクト: wate0070/Lab8
 public CoursesController(StudentRecordContext context)
 {
     _context = context;
 }
コード例 #3
0
 public AcademicRecordsController(StudentRecordContext context)
 {
     _context = context;
 }
コード例 #4
0
 public EmployeesController(StudentRecordContext context)
 {
     _context = context;
 }
コード例 #5
0
 public StudentsController(StudentRecordContext context)
 {
     _context = context;
 }