public RequireController(ClassroomServices classroomServices, UserServices userServices, RequireServices requireServices, UserManager <IdentityUser> userManager) { this.classroomServices = classroomServices; this.userServices = userServices; this.requireServices = requireServices; this.userManager = userManager; }
public AssignmentController(AssignmentService assignmentService, GradeServices gradeServices, ClassroomServices classroomServices, HomeworkServices homeworkServices, UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager) { this.assignmentService = assignmentService; this.classroomServices = classroomServices; this.signInManager = signInManager; this.userManager = userManager; this.homeworkServices = homeworkServices; this.gradeServices = gradeServices; }
public HomeController(ILogger <HomeController> logger, ClassroomServices classroomServices, UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, RequireServices requireServices, UserServices userServices) { this.requireServices = requireServices; this.signInManager = signInManager; this.userManager = userManager; this.classroomServices = classroomServices; this.userServices = userServices; _logger = logger; }
private void setCRCB(ComboBox cb, int ID_Building) { ClassroomServices classroomServices = new ClassroomServices(); DataTable dt = new DataTable(); dt = classroomServices.Get(0, ID_Building.ToString()); for (int i = 0; i < dt.Rows.Count; i++) { cb.Items.Add(dt.Rows[i][0].ToString()); } }
public APIResponses GetClassroomByID(int id) { return(new APIResponses(200, "Success", ClassroomServices.GetClassroomDTOByID(id))); }
public APIResponses ClassroomList() { return(new APIResponses(200, "Success", ClassroomServices.ClassroomList())); }
public ClassroomController(ClassroomServices classroom, UserManager <IdentityUser> userManager, RequireServices requireServices) { classroomServices = classroom; this.userManager = userManager; this.requireServices = requireServices; }
public ClassroomController(ClassroomServices classroomServices, UserManager <IdentityUser> userManager) { this.classroomServices = classroomServices; this.userManager = userManager; }