Add possible missing files (I don't trust git move).

This commit is contained in:
2025-04-27 12:41:33 +01:00
parent c8e1f0c5c1
commit 5fd8484b3b
167 changed files with 30433 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using DbContext = Aaru.Server.Old.Database.DbContext;
namespace Aaru.Server.Old.Areas.Admin.Controllers;
[Area("Admin")]
[Authorize]
public sealed class BlockDescriptorsController : Controller
{
readonly DbContext _context;
public BlockDescriptorsController(DbContext context) => _context = context;
// GET: Admin/BlockDescriptors
public async Task<IActionResult> Index() => View(await _context.BlockDescriptor.OrderBy(b => b.BlockLength)
.ThenBy(b => b.Blocks)
.ThenBy(b => b.Density)
.ToListAsync());
}