public virtual T Get(QueryOptions <T> options) { IQueryable <T> query = BuildQuery(options); return(query.FirstOrDefault()); }
public virtual IEnumerable <T> List(QueryOptions <T> options) { IQueryable <T> query = BuildQuery(options); return(query.ToList()); }