public static bool DeleteFinancierCondition(Int32 companyId, int financierConditionId) { bool result = true; using (var accountManager = new AccountManager(null)) { try { accountManager.DeleteFinancierCondition(accountManager.GetFinancierCondition(companyId, financierConditionId)); } catch (SqlException e) { result = false; } } return result; }