private string supportDeny(Int64 issueId, Int64 guId, string val) { SupportDenyBAL supportdenybal = new SupportDenyBAL(); supportDenyBO supportdenybo = new supportDenyBO(); supportdenybo.issueId = issueId; supportdenybo.guid = guId; supportdenybo.supportDeny = true; if (val != "") { if (val.ToString() == "support") { supportdenybo.supportDeny = true; } else if (val.ToString() == "deny") { supportdenybo.supportDeny = false; } DataTable dt = (DataTable)supportdenybal.updateData(supportdenybo); return(ConvertToJason(dt)); } return("Error "); }
private string supportDeny(Int64 issueId, Int64 guId, string val) { SupportDenyBAL supportdenybal = new SupportDenyBAL(); supportDenyBO supportdenybo = new supportDenyBO(); supportdenybo.issueId = issueId; supportdenybo.guid = guId; supportdenybo.supportDeny = true; if (val != "") { if (val.ToString() == "support") supportdenybo.supportDeny = true; else if (val.ToString() == "deny") supportdenybo.supportDeny = false; DataTable dt = (DataTable)supportdenybal.updateData(supportdenybo); return ConvertToJason(dt); } return "Error "; }