public virtual List <T> GetAll() { IQueryable <T> query = _entities.Set <T>(); return(query.ToList()); }