dark theme

This commit is contained in:
Paul Schneider 2021-09-12 20:45:43 +01:00
commit 386eec262d
13 changed files with 7929 additions and 97 deletions

View file

@ -15,8 +15,8 @@ namespace isnd.Controllers
{
var applicationDbContext = _dbContext.Packages.Include(p => p.Versions).Where(
p => ( model.Prerelease || p.Versions.Any(v => !v.IsPrerelease))
&& ((model.query == null) || p.Id.StartsWith(model.query)));
model.data = await applicationDbContext.ToArrayAsync();
&& ((model.Query == null) || p.Id.StartsWith(model.Query)));
model.Data = await applicationDbContext.ToArrayAsync();
return View(model);
}