public DebtAccessor(DebtTrackerContext db) => _db = db;
Пример #2
0
 public PeopleAccessor(DebtTrackerContext db) => _db = db;
 public Repository(DebtTrackerContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _dbSet   = context.Set <T>();
 }