12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Mvc;
- using HaBookCms.Contest.Models;
- using Microsoft.Extensions.Configuration;
- namespace HaBookCms.Contest.Controllers
- {
- public class HomeController : BaseController
- {
-
- public IActionResult Index()
- {
- return View();
- }
- public string Test()
- {
- return "Hello .NetCore with Vue!(Data from Server)";
- }
- 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 });
- }
- }
- }
|