/// <summary> /// Get all entities /// </summary> /// <returns>IQueryable<T></returns> public IQueryable <T> GetAll <T>() where T : class { return(_dbContext.Set <T>().AsNoTracking()); }
public virtual IEnumerable <T> GetAll() { return(_context.Set <T>().AsEnumerable()); }