Exemplo n.º 1
0
 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;
 }
Exemplo n.º 3
0
 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;
 }