public int Count(Func <T, bool> predicate) { return(_context.Set <T>().Where(predicate).Count()); }
public IQueryable <T> GetAll() { return(_context.Set <T>()); }