using CarCenterManagerApp.Models;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;

namespace CarCenterManagerApp.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 CreateSale()
        {
            return View();
        }
        public IActionResult ListSales()
        {
            return View();
        }

        public IActionResult UpdateSale()
        {
            return View();
        }

        public IActionResult DeleteSale()
        {
            return View();
        }
        public IActionResult ListPreSaleWorks()
        {
            return View();
        }
        public IActionResult ListEmployees()
        {
            return View();
        }
        public IActionResult CreateEmployee()
        {
            return View();
        }
        public IActionResult UpdateEmployee()
        {
            return View();
        }

        public IActionResult DeleteEmployee()
        {
            return View();
        }
        public IActionResult CreatePreSaleWork()
        {
            return View();
        }
        public IActionResult UpdatePreSaleWork()
        {
            return View();
        }

        public IActionResult DeletePreSaleWork()
        {
            return View();
        }
        public IActionResult AddSaleToEmployee()
        {
            return View();
        }
        public IActionResult AddSaleToPreSaleWork()
        {
            return View();
        }
        public IActionResult AddEmployeeToPreSaleWork()
        {
            return View();
        }
        public IActionResult ListSalesToPdfFile()
        {
            return View();
        }
        public IActionResult ListSaleEmployeeToFile()
        {
            return View();
        }

        [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
        public IActionResult Error()
        {
            return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
        }
    }
}