mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Add compare to SCSIs.
This commit is contained in:
@@ -20,7 +20,16 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers
|
||||
public ScsisController(DicServerContext context) => _context = context;
|
||||
|
||||
// GET: Admin/Scsis
|
||||
public async Task<IActionResult> Index() => View(await _context.Scsi.ToListAsync());
|
||||
public IActionResult Index() => View(_context.Scsi.AsEnumerable().
|
||||
OrderBy(m =>
|
||||
StringHandlers.CToString(m.Inquiry?.
|
||||
VendorIdentification)).
|
||||
ThenBy(m =>
|
||||
StringHandlers.CToString(m.Inquiry?.
|
||||
ProductIdentification)).
|
||||
ThenBy(m =>
|
||||
StringHandlers.CToString(m.Inquiry?.
|
||||
ProductRevisionLevel)));
|
||||
|
||||
// GET: Admin/Scsis/Details/5
|
||||
public async Task<IActionResult> Details(int? id)
|
||||
|
||||
Reference in New Issue
Block a user