114 lines
2.5 KiB
C#
114 lines
2.5 KiB
C#
using CarCenterAdministratorApp.Models;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Diagnostics;
|
|
|
|
namespace CarCenterAdministratorApp.Controllers
|
|
{
|
|
public class HomeController : Controller
|
|
{
|
|
private readonly ILogger<HomeController> _logger;
|
|
|
|
public HomeController(ILogger<HomeController> logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Privacy()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Register()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult Enter()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult CreateCar()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult ListCars()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult UpdateCar()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult DeleteCar()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult ListInspections()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult ListEquipments()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult CreateEquipment()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult UpdateEquipment()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult DeleteEquipment()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult CreateInspection()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult UpdateInspection()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult DeleteInspection()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult AddCarToEquipment()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult AddCarToInspection()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult AddEquipmentToPreSaleWork()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult ListCarsToPdfFile()
|
|
{
|
|
return View();
|
|
}
|
|
public IActionResult ListCarEquipmentToFile()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
|
public IActionResult Error()
|
|
{
|
|
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
|
|
}
|
|
}
|
|
} |