From ffe8fa67e2b18c8f9906cb13296803315ca2d69b Mon Sep 17 00:00:00 2001 From: mahan Date: Thu, 5 Feb 2026 10:33:09 +0330 Subject: [PATCH] refactor salary aid controller to update Excel validation endpoint --- ServiceHost/Areas/Client/Controllers/SalaryAidController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ServiceHost/Areas/Client/Controllers/SalaryAidController.cs b/ServiceHost/Areas/Client/Controllers/SalaryAidController.cs index 78d21157..5cb85812 100644 --- a/ServiceHost/Areas/Client/Controllers/SalaryAidController.cs +++ b/ServiceHost/Areas/Client/Controllers/SalaryAidController.cs @@ -65,8 +65,8 @@ public class SalaryAidController:ClientBaseController var result = _salaryAidApplication.Remove(id); return result; } - - public ActionResult> OnPostValidateExcel(IFormFile excel) + [HttpPost("validate-excel")] + public ActionResult> ValidateExcel(IFormFile excel) { var validation = _salaryAidImportExcel.ReadAndValidateExcel(excel, _workshopId);