mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add search computer by year.
This commit is contained in:
@@ -34,5 +34,12 @@ namespace cicm_web.Controllers
|
||||
|
||||
return View(computers);
|
||||
}
|
||||
|
||||
public IActionResult ByYear(int id)
|
||||
{
|
||||
ViewBag.Year = id;
|
||||
|
||||
return View(ComputerMini.GetItemsFromYear(id));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user