public string UpdateMobileCarStatusByCarID(string CarID, string UID,string AdstatusName,string AuthenticationID, string CustomerID, string SessionID) { string returnPostingID = "Failure"; MobileBL objMobileBL = new MobileBL(); if (CustomerID.Trim() != "") { DataSet dsSaveCustInfo = objMobileBL.SaveMobileCustomerInfo("UpdateMobileCarStatusByCarID", CustomerID, AuthenticationID, CarID); } bool bnew = objMobileBL.CheckMobileAuthorizeUSer(SessionID, Convert.ToInt32(UID)); if (bnew) { try { bool bnw = objMobileBL.UpdateMobileCarStatusByCarID(Convert.ToInt32(CarID), Convert.ToInt32(UID), AdstatusName); if (bnw) { returnPostingID = "Success"; } } catch (Exception ex) { } } else { returnPostingID = "Session timed out"; } return returnPostingID; }