PSTW_CentralizeSystem/Areas/OTcalculate/Controllers/ApprovalDashboardController.cs
2025-06-11 10:30:45 +08:00

29 lines
702 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;
return View();
}
}
}