public LibraryService(IBookRepository bookRepository, IGenreRepository genreRepository, IGroupeRepository groupeRepository, IStudentRepository studentRepository, IStudentBookRepository studentBookRepository, ISubjectRepository subjectRepository, ITeacherRepository teacherRepository, ITeacherBookRepository teacherBookRepository, IMapper mapper) { this.bookRepository = bookRepository; this.genreRepository = genreRepository; this.groupeRepository = groupeRepository; this.studentRepository = studentRepository; this.studentBookRepository = studentBookRepository; this.subjectRepository = subjectRepository; this.teacherRepository = teacherRepository; this.teacherBookRepository = teacherBookRepository; this.mapper = mapper; }
public PrestamoController(IPrestamoRepository prestamoRepository, IStudentBookRepository studentBookRepository, IConfiguration configuration) { this.prestamoRepository = prestamoRepository; this.studentBookRepository = studentBookRepository; this.configuration = configuration; }