110 lines
2.4 KiB
C#
110 lines
2.4 KiB
C#
using TravelAgencyContracts.BindingModels;
|
|
using TravelAgencyContracts.ViewModels;
|
|
using TravelAgencyWebApp.Models;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Diagnostics;
|
|
|
|
namespace TravelAgencyWebApp.Controllers
|
|
{
|
|
public class HomeController : Controller
|
|
{
|
|
private readonly ILogger<HomeController> _logger;
|
|
|
|
public HomeController(ILogger<HomeController> logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[HttpGet]
|
|
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 });
|
|
}
|
|
|
|
[HttpGet]
|
|
public IActionResult Enter()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[HttpGet]
|
|
public IActionResult Register()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[HttpGet]
|
|
public IActionResult Excursions()
|
|
{
|
|
return View(new List<ExcursionViewModel>());
|
|
}
|
|
[HttpGet]
|
|
public IActionResult ExcursionGroups()
|
|
{
|
|
return View(new List<ExcursionGroupViewModel>());
|
|
}
|
|
[HttpGet]
|
|
public IActionResult Tours()
|
|
{
|
|
return View(new List<TourViewModel>());
|
|
}
|
|
|
|
[HttpGet]
|
|
public IActionResult CreateTour()
|
|
{
|
|
return View();
|
|
}
|
|
[HttpGet]
|
|
public IActionResult CreateExcursion()
|
|
{
|
|
return View(new List<TourViewModel>());
|
|
}
|
|
[HttpGet]
|
|
public IActionResult CreateExcursionGroup()
|
|
{
|
|
return View(new List<TourViewModel>());
|
|
}
|
|
[HttpGet]
|
|
public IActionResult UpdateTour()
|
|
{
|
|
return View();
|
|
}
|
|
[HttpGet]
|
|
public IActionResult UpdateExcursion()
|
|
{
|
|
return View(new List<TourViewModel>());
|
|
}
|
|
[HttpGet]
|
|
public IActionResult UpdateExcursionGroup()
|
|
{
|
|
return View(new List<TourViewModel>());
|
|
}
|
|
[HttpGet]
|
|
public IActionResult ReportMenu()
|
|
{
|
|
return View();
|
|
}
|
|
[HttpGet]
|
|
public IActionResult ReportPlaceTour()
|
|
{
|
|
return View(new List<ReportPlaceTourViewModel>());
|
|
}
|
|
[HttpGet]
|
|
public IActionResult ReportTourPeriod()
|
|
{
|
|
return View(new List<ReportTourPeriodViewModel>());
|
|
}
|
|
}
|
|
}
|