Added ability to delete Corrective Actions through the list page.
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user