using Contracts.BusinessLogicsContracts; using Contracts.ViewModels; using GuarantorAPP.Models; using Microsoft.AspNetCore.Mvc; using System.Diagnostics; namespace GuarantorAPP.Controllers { public class HomeController : Controller { private readonly ILogger _logger; private readonly IGuarantorLogic _userLogic; private readonly IMachineLogic _machineLogic; private readonly IWorkerLogic _workerLogic; private readonly IWorkshopLogic _workshopLogic; public HomeController(ILogger logger) { _logger = logger; } public IActionResult Index() { return View(); } public IActionResult Enter() { return View(); } public IActionResult Register() { return View(); } public IActionResult IndexMachine() { return View(new List()); } public IActionResult CreateMachine() { return View(); } public IActionResult IndexWorker() { return View(new List()); } public IActionResult CreateWorker() { return View(); } public IActionResult IndexWorkshop() { return View(new List()); } public IActionResult CreateWorkshop() { return View(); } public IActionResult Privacy() { return View(); } [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public IActionResult Error() { return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); } } }