mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Implement list admin page for resolutions by screen.
This commit is contained in:
@@ -25,7 +25,8 @@ namespace cicm_web.Areas.Admin.Controllers
|
||||
{
|
||||
IIncludableQueryable<ResolutionsByScreen, Screen> cicmContext =
|
||||
_context.ResolutionsByScreen.Include(r => r.Resolution).Include(r => r.Screen);
|
||||
return View(await cicmContext.ToListAsync());
|
||||
return View(await cicmContext.OrderBy(r => r.Screen.ToString()).ThenBy(r => r.Resolution.ToString())
|
||||
.ToListAsync());
|
||||
}
|
||||
|
||||
// GET: ResolutionsByScreen/Details/5
|
||||
|
||||
Reference in New Issue
Block a user