public PersonResponse GetPersonDetails(decimal personId_) { PersonResponse personResponse = new PersonResponse(); try { //WebRequestLogManager objWebRequestLogManager = new WebRequestLogManager(); //decimal requestId = objWebRequestLogManager.AddRequest(string.Format("Project {0}, Page {1}, Method {2}, currentCulture {3}, clientID {4}, statusids {5}, partnertypecodes {6}", "ELSBackendBLL", "masterManager.cs", "GetAllPartners", culture, clientId, statusids, partnertypecodes), 0, CommonFunctions.RequestSource.WEB.ToString()); PersonDB personDB = new PersonDB(); personResponse = personDB.GetPersonDetails(personId_); //objWebRequestLogManager.AddResponse(masterResponse.Status.ToString(), requestId, 0); } //catch (CustomException ex) //{ // masterResponse = new MasterResponse(ex.ResponseStatus); //} catch (Exception ex) { //var Error = "Exception : " + ex.Message + ", Inner Exception : " + (ex.InnerException == null ? "" : ex.InnerException.Message); //ExceptionLogDB.LogException("ELSBAL", "MasterManager.cs", "GetAllRoles", CommonFunctions.RequestSource.WEB.ToString(), Error); personResponse = new PersonResponse(BaseResponse.ResponseStatus.Error); } return(personResponse); }