.
This commit is contained in:
parent
fff4599ff4
commit
558d5fc8ae
4 changed files with 8 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ namespace isn
|
|||
{
|
||||
var applicationDbContext = _context.PackageVersions.Include(p => p.Package).Where(p => p.PackageId.StartsWith(model.PackageId));
|
||||
|
||||
model.Versions = await applicationDbContext.ToListAsync();
|
||||
model.Versions = await applicationDbContext.ToArrayAsync();
|
||||
|
||||
return View(model);
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@ namespace isn
|
|||
p => (string.IsNullOrEmpty(model.PackageId) || p.PackageId.StartsWith(model.PackageId))
|
||||
&& p.Package.OwnerId == userId);
|
||||
|
||||
model.Versions = await applicationDbContext.ToListAsync();
|
||||
model.Versions = await applicationDbContext.ToArrayAsync();
|
||||
|
||||
return View("Index", model);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue