Ejemplo n.º 1
0
 public EnrollmentService(IntranetContext context,
                             IRepository<Curso> courseRepository,
                             IRepository<Matricula> enrollRepository)
 {
     _courseRepository = courseRepository;
     _enrollRepository = enrollRepository;
 }
Ejemplo n.º 2
0
 public StudentService(IntranetContext context,
                         IRepository<Estudiante> repository,
                         IRepository<Matricula> enrollRepository,
                         IRepository<Especialidad> departmentRepository,
                         IRepository<Inasistencia> absenceRepository)
 {
     _studentRepository = repository;
     _enrollRepository = enrollRepository;
     _departmentRepository = departmentRepository;
     _absenceRepository = absenceRepository;
 }
Ejemplo n.º 3
0
 public PaymentService(IntranetContext context, IRepository<TipoPago> paymentRepository)
 {
     _paymentTypeRepository = paymentRepository;
 }
Ejemplo n.º 4
0
 public CourseService(IntranetContext context, IRepository<Curso> courseRepo, IRepository<Especialidad> departmentRepo)
 {
     _courseRepository = courseRepo;
     _departmentRepository = departmentRepo;
 }