Coursach/Course/ImplementerApp/Controllers/HomeController.cs
2024-04-28 17:11:40 +04:00

57 lines
1.2 KiB
C#

using ImplementerApp.Models;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
namespace ImplementerApp.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
public HomeController(ILogger<HomeController> logger)
{
_logger = logger;
}
public IActionResult Index()
{
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 });
}
}
}