public string GetWideAngleURL() { CurrentInfo objCurInfo = new CurrentInfo(); string wideAngleUrl = string.Empty; try { string companyCode = objCurInfo.GetCompanyCode(); string userTypeCode = objCurInfo.GetUserTypeCode(); string userCode = objCurInfo.GetUserCode(); string waUrl = objCurInfo.GetWideAngleUrl(); string sessionId = objCurInfo.GetSessionId(); string regionCode = objCurInfo.GetRegionCode(); string userName = objCurInfo.GetUserName(); if (!string.IsNullOrEmpty(waUrl)) { wideAngleUrl = "" + waUrl + "?User_Code=" + userCode + "&Comp_Code=" + companyCode + "&Session_Id=" + sessionId + "&Return_URL=" + Request.Url.Authority + "&User_Type_Code=" + userTypeCode + "&Region_Code=" + regionCode + "&User_Name=" + userName + ""; } return(wideAngleUrl); } catch (Exception ex) { ErrorLog.LogError(ex, "GetWideAngleURL()"); return(ex.Message.ToString()); } }