HomeController.cs 728 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. using Microsoft.AspNetCore.Mvc;
  7. using TEAMModelOS.Admin.Models;
  8. namespace TEAMModelOS.Admin.Controllers
  9. {
  10. public class HomeController : Controller
  11. {
  12. public IActionResult Index()
  13. {
  14. return View();
  15. }
  16. public IActionResult Privacy()
  17. {
  18. return View();
  19. }
  20. [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
  21. public IActionResult Error()
  22. {
  23. return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
  24. }
  25. }
  26. }