Added functionality to attach files to corrective actions

This commit is contained in:
Daniel Wathen
2023-02-13 15:56:09 -07:00
parent 09543b8474
commit 15ce48e7a5
6 changed files with 124 additions and 17 deletions

View File

@ -334,6 +334,10 @@ namespace Fab2ApprovalSystem.Controllers
return Json(caDMO.GetCAAttachmentsList(caNo, Functions.CASectionMapper(GlobalVars.CASection.D2)).ToDataSourceResult(request));
}
public ActionResult Attachment_Read([DataSourceRequest] DataSourceRequest request, int caNO)
{
return Json(caDMO.GetCAAttachmentsList(caNO, "").ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
}
/// <summary>
///