private async Task <List <IGrouping <string, Package> > > SearchImplAsync( string query, int skip, int take, bool includePrerelease, bool includeSemVer2, string packageType, IReadOnlyList <string> frameworks) { return((await _context.SearchPackageImplAsync(query, skip, take, includePrerelease, includeSemVer2, packageType, frameworks)) .GroupBy(x => x.Id).ToList()); }