public PupilController(IStudentRespository studentRespository, ILogRespository log) { StudentRespository = studentRespository; logs = log; }
/// <summary> /// The construfctor for course service. /// </summary> /// <param name="courseRepository">The course repository to inject.</param> public StudentService(IStudentRespository studentRespository) { _studentRespository = studentRespository; }
public StudentController(IStudentRespository studentRespository) { _studentRespository = studentRespository; }
public StudentController(IStudentRespository repo) { _repo = repo; }