|
|
@ -253,11 +253,45 @@ namespace Swift.DAL.Remittance.Transaction |
|
|
|
return ParseDbResult(sql); |
|
|
|
} |
|
|
|
|
|
|
|
public DbResult Delete(string user, string rowId) |
|
|
|
//public DbResult Delete(string user, string rowId)
|
|
|
|
//{
|
|
|
|
// var sql = "EXEC PROC_REFERALSETUP @flag = 'delete'";
|
|
|
|
// sql += ", @user = " + FilterString(user);
|
|
|
|
// sql += ", @rowId = " + FilterString(rowId);
|
|
|
|
// return ParseDbResult(sql);
|
|
|
|
//}
|
|
|
|
|
|
|
|
//public DbResult Delete(string acct_id, string user)
|
|
|
|
//{
|
|
|
|
// string sql = "EXEC PROC_API_BANK_BRANCH_SETUP";
|
|
|
|
// sql += " @flag ='delete'";
|
|
|
|
// sql += ", @bankId" + FilterString(acct_id);
|
|
|
|
// sql += ", @user=" + FilterString(user);
|
|
|
|
// return ParseDbResult(ExecuteDataset(sql).Tables[0]);
|
|
|
|
//}
|
|
|
|
|
|
|
|
public DbResult DeleteBankMapping(string bankId, string user) |
|
|
|
{ |
|
|
|
var sql = "EXEC PROC_REFERALSETUP @flag = 'delete'"; |
|
|
|
string sql = "EXEC Proc_UpdateBranchCode"; |
|
|
|
sql += " @flag ='deleteBankMapping'"; |
|
|
|
sql += ",@bankId =" + FilterString(bankId); |
|
|
|
sql += ",@user =" + FilterString(user); |
|
|
|
return ParseDbResult(sql); |
|
|
|
} |
|
|
|
public DbResult DeleteBank(string bankId, string user) |
|
|
|
{ |
|
|
|
string sql = "EXEC Proc_UpdateBranchCode"; |
|
|
|
sql += " @flag ='deleteBank'"; |
|
|
|
sql += ",@bankId =" + FilterString(bankId); |
|
|
|
sql += ",@user =" + FilterString(user); |
|
|
|
return ParseDbResult(sql); |
|
|
|
} |
|
|
|
public DbResult DeleteBranch(string branchId, string user) |
|
|
|
{ |
|
|
|
string sql = "EXEC Proc_UpdateBranchCode"; |
|
|
|
sql += " @flag ='deleteBranch'"; |
|
|
|
sql += ",@bankId =" + FilterString(branchId); |
|
|
|
sql += ",@user =" + FilterString(user); |
|
|
|
sql += ", @rowId = " + FilterString(rowId); |
|
|
|
return ParseDbResult(sql); |
|
|
|
} |
|
|
|
|
|
|
|