public ApplicationUsersController( ILogger <ApplicationUsersController> logger, AerithContext context) : base() { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _context = context ?? throw new ArgumentNullException(nameof(context)); }
public Repository(AerithContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); _dbSet = context.Set <TEntity>(); }