public EnrollmentsController(IEnrollmentService enrollmentServices, IStudentRepositoy studentService, ICourseService courseService) { this.enrollmentServices = enrollmentServices; this.studentService = studentService; this.courseService = courseService; }
public StudentService(IStudentRepositoy studentRepository) : base(studentRepository) { this.studentRepository = studentRepository; }