refactor salary aid controller to update Excel validation endpoint
This commit is contained in:
@@ -65,8 +65,8 @@ public class SalaryAidController:ClientBaseController
|
||||
var result = _salaryAidApplication.Remove(id);
|
||||
return result;
|
||||
}
|
||||
|
||||
public ActionResult<ExcelValidation<SalaryAidImportData>> OnPostValidateExcel(IFormFile excel)
|
||||
[HttpPost("validate-excel")]
|
||||
public ActionResult<ExcelValidation<SalaryAidImportData>> ValidateExcel(IFormFile excel)
|
||||
{
|
||||
var validation = _salaryAidImportExcel.ReadAndValidateExcel(excel, _workshopId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user