Esempio n. 1
0
 public CourseService(ICourseRepository courseRepository, IUnitOfWork unitOfWork, IStudentService studentService, ICourseTemplateRepository courseTemplateRepository, IStudentRegistryRepository studentRegistryRepository)
 {
     this.courseRepository          = courseRepository;
     this.courseTemplateRepository  = courseTemplateRepository;
     this.studentRegistryRepository = studentRegistryRepository;
     this.studentService            = studentService;
     this.unitOfWork = unitOfWork;
 }
Esempio n. 2
0
 public StudentService(IStudentRepository studentRepository, IStudentRegistryRepository studentRegistryRepository, ICourseRepository courseRepository, IWaitingListRepository waitingListRepository, IUnitOfWork unitOfWork)
 {
     this.studentRepository         = studentRepository;
     this.studentRegistryRepository = studentRegistryRepository;
     this.courseRepository          = courseRepository;
     this.waitingListRepository     = waitingListRepository;
     this.unitOfWork = unitOfWork;
 }