Coursach/Course/ImplementerApp/Controllers/HomeController.cs
Sergey Kozyrev bb28208cfb ChangeWork
Хали Гали Кришна
Хали Гали Рама
Трали-вали, крыша
Где ты будешь завтра?
2024-04-28 21:35:19 +04:00

71 lines
1.6 KiB
C#

using ImplementerApp.Models;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
using BusinessLogic.BusinessLogic;
using Contracts.BusinessLogicsContracts;
namespace ImplementerApp.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
private readonly IDetailLogic _detailLogic;
private readonly IImplementerLogic _userLogic;
private readonly IProductLogic _productLogic;
private readonly IProductionLogic _productionLogic;
public HomeController(ILogger<HomeController> logger)
{
_logger = logger;
}
public IActionResult Index()
{
return View();
}
public IActionResult Enter()
{
return View();
}
public IActionResult Register()
{
return View();
}
public IActionResult IndexDetail()
{
return View();
}
public IActionResult CreateDetail()
{
return View();
}
public IActionResult IndexProduct()
{
return View();
}
public IActionResult CreateProduct()
{
return View();
}
public IActionResult IndexProduction()
{
return View();
}
public IActionResult CreateProduction()
{
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 });
}
}
}