public async Task <AutocompleteResponse> ListPackageVersionsAsync(
            VersionsRequest request,
            CancellationToken cancellationToken)
        {
            var packageId = request.PackageId.ToLower();
            IQueryable <Package> search = _context
                                          .Packages
                                          .Where(p => p.Id.ToLower().Equals(packageId));

            search = AddSearchFilters(
                search,
                request.IncludePrerelease,
                request.IncludeSemVer2,
                packageType: null,
                frameworks: null);

            var results = await search
                          .Select(p => p.NormalizedVersionString)
                          .ToListAsync(cancellationToken);

            return(new AutocompleteResponse
            {
                TotalHits = results.Count,
                Data = results,
                Context = AutocompleteContext.Default
            });
        }
 public Task <AutocompleteResponse> ListPackageVersionsAsync(
     VersionsRequest request,
     CancellationToken cancellationToken)
 {
     return(EmptyAutocompleteResponseTask);
 }