public AsdUnitOfWork(AsdSqlContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public AsdRepository(AsdSqlContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); _dbSet = _context.Set <T>(); }