33 lines
818 B
C#
33 lines
818 B
C#
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});
|
|
}
|
|
} |