PSTW_CentralizeSystem/Areas/OTcalculate/Controllers/ApprovalDashboardController.cs
2025-05-13 17:13:30 +08:00

29 lines
727 B
C#

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using PSTW_CentralSystem.Areas.OTcalculate.Models;
using PSTW_CentralSystem.DBContext;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PSTW_CentralSystem.Areas.OTcalculate.Controllers
{
[Area("OTcalculate")]
[Authorize]
public class ApprovalDashboardController : Controller
{
public IActionResult Approval()
{
return View();
}
public IActionResult OtReview(int statusId)
{
ViewBag.StatusId = statusId; // If needed in the view
return View();
}
}
}