private void SaveInquiryStatus() { try { int result = 0; objInquiryStatusLookup = new InquiryStatusLookupDal(); LookupBDto objStatus = new LookupBDto(); objLookUpBDto = new LookupBDto(); objLookUpBDto.LookupName =txtInquiryStatus.Text; objLookUpBDto.UserProfile = objAuthorizationBDto.UserProfile; result = objInquiryStatusLookup.InsertInquiryStatus(objLookUpBDto); if (result >= 1) { Master.DisplayMessage(ConfigurationSettings.AppSettings[SuccessMessage.Save].ToString()); Master.MessageCssClass = "successMessage"; } else { Master.DisplayMessage(ConfigurationSettings.AppSettings[FailureMessage.Save].ToString()); Master.MessageCssClass = "errorMessage"; } BindGrid(); Reset(); } catch (Exception ex) { bool rethrow = ExceptionPolicy.HandleException(ex, DALHelper.DAL_EXP_POLICYNAME); if (rethrow) { throw ex; } } }