public UnitOfWork(RenetduxDatabaseContext context) { _context = context; }
public UserRepository(RenetduxDatabaseContext context) : base(context) { _context = context; }
protected BaseRepository(RenetduxDatabaseContext context) { Context = context ?? throw new ArgumentNullException(nameof(context)); _dbSet = context.Set <TEntity>(); }