mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Set all details buttons as bootstrap buttons.
This commit is contained in:
@@ -54,7 +54,8 @@ namespace cicm_web.Areas.Admin.Controllers
|
||||
public async Task<IActionResult> Index()
|
||||
{
|
||||
IIncludableQueryable<Gpu, Company> cicmContext = _context.Gpus.Include(g => g.Company);
|
||||
return View(await cicmContext.ToListAsync());
|
||||
return View(await cicmContext.OrderBy(g => g.Company.Name).ThenBy(g => g.Name).ThenBy(g => g.Introduced)
|
||||
.ToListAsync());
|
||||
}
|
||||
|
||||
// GET: Admin/Gpus/Details/5
|
||||
|
||||
Reference in New Issue
Block a user