mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Rebrand context.
This commit is contained in:
@@ -13,9 +13,9 @@ namespace Marechai.Areas.Admin.Controllers
|
||||
[Authorize]
|
||||
public class ResolutionsByScreenController : Controller
|
||||
{
|
||||
readonly cicmContext _context;
|
||||
readonly MarechaiContext _context;
|
||||
|
||||
public ResolutionsByScreenController(cicmContext context)
|
||||
public ResolutionsByScreenController(MarechaiContext context)
|
||||
{
|
||||
_context = context;
|
||||
}
|
||||
@@ -23,9 +23,9 @@ namespace Marechai.Areas.Admin.Controllers
|
||||
// GET: ResolutionsByScreen
|
||||
public async Task<IActionResult> Index()
|
||||
{
|
||||
IIncludableQueryable<ResolutionsByScreen, Screen> cicmContext =
|
||||
IIncludableQueryable<ResolutionsByScreen, Screen> marechaiContext =
|
||||
_context.ResolutionsByScreen.Include(r => r.Resolution).Include(r => r.Screen);
|
||||
return View(await cicmContext.OrderBy(r => r.Screen.ToString()).ThenBy(r => r.Resolution.ToString())
|
||||
return View(await marechaiContext.OrderBy(r => r.Screen.ToString()).ThenBy(r => r.Resolution.ToString())
|
||||
.ToListAsync());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user