public DbSet <T> GetAll() { var table = _db.Set <T>(); return(table); }
public RepositoryBase(AccountManagerContext dataContext) { _dataContext = dataContext; _dbset = dataContext.Set <TEntity>(); }
public DbSet <T> GetAll() { var table = _db.Set <T>(); return(table); }
public RepositoryBase(AccountManagerContext dataContext) { _dataContext = dataContext; _dbset = dataContext.Set <TEntity>(); }