CodeLiturgy.Dashboard/BlueWest.Views/Controllers/JobsController.cs

33 lines
818 B
C#
Raw Normal View History

2022-09-26 04:05:23 +03:00
using System.Diagnostics;
using System.Web.Mvc;
using Microsoft.AspNetCore.Mvc;
using BlueWest.Views.Models;
using BlueWest.Views.Utils;
using Controller = Microsoft.AspNetCore.Mvc.Controller;
namespace BlueWest.Views.Controllers;
public class JobsController : Controller
{
private readonly ILogger<JobsController> _logger;
public JobsController(ILogger<JobsController> logger)
{
_logger = logger;
}
public IActionResult Index()
{
this.HandleGlobalization();
ViewData["Title"] = "Home Page";
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel {RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier});
}
}