public FrmLeanBooks(IPersonRepository personRepository, IBookTransactionRepository bookTransactionRepository, IBookRepository bookRepository) { InitializeComponent(); this.personRepository = personRepository; this.bookTransactionRepository = bookTransactionRepository; this.bookRepository = bookRepository; }
public BookTransactionController(IMapperService mapperService, IBookTransactionRepository bookTransactionRepository, IStudentService studentService) { _mapperService = mapperService; _bookTransactionRepository = bookTransactionRepository; _studentService = studentService; }