Ejemplo n.º 1
0
 public UnitOfWork(AppContext context,
                   IBookRepository bookRepository,
                   ICategoryRepository categoryRepository,
                   IUserRepository users,
                   IBorrowRepository borrows,
                   IBookFileRepository bookFileRepository)
 {
     _context   = context;
     BookFiles  = bookFileRepository;
     Books      = bookRepository;
     Categories = categoryRepository;
     Users      = users;
     Borrows    = borrows;
 }
 public BookFileDomain()
 {
     _bookFileRepository = new BookFileRepository();
 }
Ejemplo n.º 3
0
 public BookFileDomain()
 {
     _bookFileRepository = new BookFileRepository();
 }