public IQueryable <TEntity> SqlQuery(string query, params object[] parameters) { return(_repository.SelectQuery(query, parameters).AsQueryable()); }