public DiscordSender( ClassRoomManager <ApplicationDbContext> classRoomManager, ILoggerFactory loggerFactory) { _classRoomManager = classRoomManager; _logger = loggerFactory.CreateLogger <DiscordSender>(); }
public MigrateModel( ClassRoomManager <ApplicationDbContext> classRoomManager, UserManager <Student> userManager) { _classRoomManager = classRoomManager; _userManager = userManager; }
public AllocateClassroomController() { DepartmentManager = new DepartmentManager(); RoomManager = new RoomManager(); DayManager = new DayManager(); CourseManager = new CourseManager(); ClassRoomManager = new ClassRoomManager(); }
public AllocateClassRoomController() { departmentManager = new DepartmentManager(); courseManager = new CourseManager(); allocateClassRoomManager = new AllocateClassRoomManager(); classRoomManager = new ClassRoomManager(); teacherManager = new TeacherManager(); }
public PlanningController( IDistributedCache memoryCache, ClassRoomManager<ApplicationDbContext> classRoomManager, UserManager<Student> userManager) { _memoryCache = memoryCache; _classRoomManager = classRoomManager; _userManager = userManager; }
public SubjectsController( ClassRoomManager <ApplicationDbContext> classRoomManager, SubjectManager <ApplicationDbContext> subjectManager, UserManager <Student> userManager) { _classRoomManager = classRoomManager; _subjectManager = subjectManager; _userManager = userManager; }
public StudentsController( ApplicationDbContext context, ClassRoomManager <ApplicationDbContext> classRoomManager, IEmailSender emailSender, RoleManager <IdentityRole> roleManager, UserManager <Student> userManager) { _context = context; _classRoomManager = classRoomManager; _emailSender = emailSender; _roleManager = roleManager; _userManager = userManager; }
public RegisterModel( ClassRoomManager <ApplicationDbContext> classRoomManager, RoleManager <IdentityRole> roleManager, SignInManager <Student> signInManager, UserManager <Student> userManager, ILogger <RegisterModel> logger, IEmailSender emailSender) { _classRoomManager = classRoomManager; _roleManager = roleManager; _signInManager = signInManager; _userManager = userManager; _logger = logger; _emailSender = emailSender; }
public IEnumerable <SelectListItem> GetClassRoomForDropDown() { List <SelectListItem> selectListItems = new List <SelectListItem>() { new SelectListItem() { Text = "---Select---", Value = "" }, }; List <ClassRoom> classRooms = new ClassRoomManager().GetAllClassRooms(); foreach (ClassRoom classRoom in classRooms) { SelectListItem selectListItem = new SelectListItem(); selectListItem.Text = classRoom.RoomNo; selectListItem.Value = classRoom.Id.ToString(); selectListItems.Add(selectListItem); } return(selectListItems); }
public IEnumerable <SelectListItem> GetAllClassRoomList() { List <SelectListItem> selectedList = new List <SelectListItem>() { new SelectListItem() { Text = "---Select---", Value = "" }, }; List <ClassRoom> classRooms = new ClassRoomManager().GetAllClassRooms(); foreach (ClassRoom classRoom in classRooms) { SelectListItem aList = new SelectListItem(); aList.Text = classRoom.RoomNo; aList.Value = classRoom.Id.ToString(); selectedList.Add(aList); } return(selectedList); }
public ClassRoomsController( ClassRoomManager <ApplicationDbContext> classRoomManager) { _classRoomManager = classRoomManager; }
public ClassRoomUi() { InitializeComponent(); classRoomManager = new ClassRoomManager(); }
// // GET: /Unassign/ public UnassignController() { TeacherManager = new TeacherManager(); ClassRoomManager = new ClassRoomManager(); }