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);
|
var result = _salaryAidApplication.Remove(id);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
[HttpPost("validate-excel")]
|
||||||
public ActionResult<ExcelValidation<SalaryAidImportData>> OnPostValidateExcel(IFormFile excel)
|
public ActionResult<ExcelValidation<SalaryAidImportData>> ValidateExcel(IFormFile excel)
|
||||||
{
|
{
|
||||||
var validation = _salaryAidImportExcel.ReadAndValidateExcel(excel, _workshopId);
|
var validation = _salaryAidImportExcel.ReadAndValidateExcel(excel, _workshopId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user