Exemple #1
0
 public AuthorDal(BookStoreContext context, ILogService logger)
 {
     _context = context;
     _logger  = logger;
 }
Exemple #2
0
 public UnitOfWork(BookStoreContext db)
 {
     _db = db ?? throw new ArgumentNullException(nameof(db));
 }