public StudentsServices( IDeletableEntityRepository <Student> studentRepository, IDeletableEntityRepository <Course> gradeRepository, IDeletableEntityRepository <Attendance> attendanceRepository, IAtendacesServices atendacesServices) { this.studentRepository = studentRepository; this.gradeRepository = gradeRepository; this.attendanceRepository = attendanceRepository; this.atendacesServices = atendacesServices; }
public DashboardController( IParentServices parentServices, IStudentsServices studentsServices, IExamsServices examsServices, IAtendacesServices atendacesServices, UserManager <ApplicationUser> userManager) { this.parentServices = parentServices; this.studentsServices = studentsServices; this.examsServices = examsServices; this.atendacesServices = atendacesServices; this.userManager = userManager; }
public AttendancesController( ApplicationDbContext context, ITeacherServises teacherServises, IStudentsServices studentsServices, IAtendacesServices atendacesServices, UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager) { _context = context; this.teacherServises = teacherServises; this.studentsServices = studentsServices; this.atendacesServices = atendacesServices; this.userManager = userManager; this.roleManager = roleManager; }