public static string DeleteZendeskTicket(int currentTicketNo) { try { string sessionID = string.Empty; if (HttpContext.Current.Session["ActiveUser"] != null) { User u = (User)HttpContext.Current.Session["ActiveUser"]; sessionID = u.SessionID; } else { sessionID = "{A0A0A0A0-A0A0-A0A0-A0A0-A0A0A0A0A0A0}"; } StaticService.DeleteZendeskTicket(sessionID, currentTicketNo); HttpContext.Current.Session["NoUserInteraction"] = true; HttpContext.Current.Session["UserInteraction"] = true; } catch (Exception e) { return("Error - " + e.Message); } return("Success"); }