update news & events

This commit is contained in:
2025-10-22 09:41:40 +07:00
parent 40cf6fe6f4
commit 8f81545293
348 changed files with 111475 additions and 623 deletions

View File

@ -1,6 +1,6 @@
using System.Diagnostics;
using AppLibs.Libs;
using Microsoft.AspNetCore.Mvc;
using TWASys_App.Models;
namespace TWASys_App.Controllers
{
@ -13,20 +13,14 @@ namespace TWASys_App.Controllers
_logger = logger;
}
public IActionResult Index()
[PageInfor("1000", "Home")]
public async Task<IActionResult> Index()
{
return View();
return await this.ViewAsync();
}
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 });
}
}
}