public ErrorController() { _log = new LogHandler(); }
public GenericRepository(DbContext dbContext) { _log = new LogHandler(); _dbContext = dbContext; _dbSet = dbContext.Set <TEntity>(); }
public ErrorController() { _log = new LogHandler(); }
public GenericRepository(DbContext dbContext) { _log = new LogHandler(); _dbContext = dbContext; _dbSet = dbContext.Set <TEntity>(); }