Commit 4682b717 authored by Krishna Reddy Tamatam's avatar Krishna Reddy Tamatam

Added one more parm for patient documents delete

parent dbf15746
......@@ -238,14 +238,14 @@ namespace FTP_Services.Services.Controllers
// }
[HttpPost("DeletePatientDocument")]
public string DeletePatientDocument(int DocumentID)
public string DeletePatientDocument(int DocumentID,int UserID)
{
log.Debug("DeletePatientDocument ==> ");
string DeletePT = "";
try
{
FTPDataAdapter adapter = new FTPDataAdapter(_appSettings);
DeletePT = adapter.DeletePatientDocumentData(DocumentID);
DeletePT = adapter.DeletePatientDocumentData(DocumentID,UserID);
}
catch (Exception ex)
{
......
......@@ -317,7 +317,7 @@ namespace FTP_Services.Services
// return _Delete;
// }
public string DeletePatientDocumentData(int SndPatDocRecID)
public string DeletePatientDocumentData(int SndPatDocRecID,int SndUserID)
{
string result = string.Empty;
try
......@@ -326,7 +326,7 @@ namespace FTP_Services.Services
{
string SQLStr =
"SELECT * FROM \"SPScanTool_DeletePatientDocument\"("
+ SndPatDocRecID
+ SndPatDocRecID +','+ SndUserID
+ ");";
result = _repository.Single<string>(SQLStr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment