Added ability to delete Corrective Actions through the list page.

This commit is contained in:
Daniel Wathen
2023-02-13 15:12:18 -07:00
parent bf59afdc1b
commit 09543b8474
6 changed files with 27 additions and 10 deletions

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
@ -489,6 +489,16 @@ namespace Fab2ApprovalSystem.DMO
}
public void DeleteCADocument(int CANo, int userID, string caTypeString)
{
var parameters = new DynamicParameters();
parameters.Add("@UserID", userID);
parameters.Add("@CANo", CANo);
parameters.Add("@CAType", caTypeString);
this.db.Execute("_8DDeleteCADocument", parameters, commandType: CommandType.StoredProcedure);
}
/// <summary>
///
/// </summary>
@ -1413,4 +1423,4 @@ namespace Fab2ApprovalSystem.DMO
return fileName;
}
}
}
}