public string PerformLogoutMobile(string UserID, string SessionID, string AuthenticationID, string CustomerID) { MobileBL objUser = new MobileBL(); string bStatus = "Failure"; try { if (CustomerID.Trim() != "") { DataSet dsSaveCustInfo = objUser.SaveMobileCustomerInfo("PerformLogoutMobile", CustomerID, AuthenticationID, UserID); } if (AuthenticationID == ConfigurationManager.AppSettings["AppleID"].ToString()) { bool bnew = objUser.PerformLogoutMobile(SessionID, Convert.ToInt32(UserID)); if (bnew) { bStatus = "Success"; } } } catch (Exception ex) { } return(bStatus); }