mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Remote details from SSCs.
This commit is contained in:
@@ -20,24 +20,6 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers
|
||||
View(await _context.Ssc.OrderBy(s => s.MinBlockLength).ThenBy(s => s.MaxBlockLength).
|
||||
ThenBy(s => s.BlockSizeGranularity).ToListAsync());
|
||||
|
||||
// GET: Admin/Sscs/Details/5
|
||||
public async Task<IActionResult> Details(int? id)
|
||||
{
|
||||
if(id == null)
|
||||
{
|
||||
return NotFound();
|
||||
}
|
||||
|
||||
Ssc ssc = await _context.Ssc.FirstOrDefaultAsync(m => m.Id == id);
|
||||
|
||||
if(ssc == null)
|
||||
{
|
||||
return NotFound();
|
||||
}
|
||||
|
||||
return View(ssc);
|
||||
}
|
||||
|
||||
// GET: Admin/Sscs/Delete/5
|
||||
public async Task<IActionResult> Delete(int? id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user