mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Update DB to version 21: Have full introduction date for machines, not only year.
This commit is contained in:
@@ -52,8 +52,8 @@ namespace cicm_web.Controllers
|
||||
|
||||
ViewBag.ItemCount = computers.Count;
|
||||
|
||||
ViewBag.MinYear = computers.Where(t => t.Year > 1000).Min(t => t.Year);
|
||||
ViewBag.MaxYear = computers.Where(t => t.Year > 1000).Max(t => t.Year);
|
||||
ViewBag.MinYear = computers.Where(t => t.Introduced.Year > 1000).Min(t => t.Introduced.Year);
|
||||
ViewBag.MaxYear = computers.Where(t => t.Introduced.Year > 1000).Max(t => t.Introduced.Year);
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user