public static bool DeleteRule(int ruleID) { try { using (_certonaService = new CertonaServiceClient()) { try { UserDTO user = FormsAuthenticationWrapper.User; var request = new DeleteRuleRequest() { User = user, ApplicationID = null, RuleID = ruleID }; var response = _certonaService.DeleteRule(request); return(response.Success); } catch (TimeoutException exception) { _certonaService.Abort(); throw; } catch (CommunicationException exception) { _certonaService.Abort(); throw; } } } catch (Exception ex) { throw; } }