public bool DeleteAccount(int accountId) { try { if (accountId == 1) { return(false); } SecurityDAO.DeleteAccount(accountId); RoleBuilder.Init(); return(true); } catch (Exception ex) { NLogManager.PublishException(ex); } return(false); }