public IQueryable <GamePick> GetQueryable() { return(_dbContext.Set <GamePick>() .AsQueryable() .Include(gp => gp.Game) .Include(gp => gp.User)); }
public IQueryable <TEntity> GetQueryable() { return(_dbContext.Set <TEntity>().AsQueryable()); }
public IEnumerable <Team> GetAll() { return(_dbContext.Set <Team>().AsQueryable().ToList().OrderBy(t => t.Id)); }