/// <summary> /// DeleteUserData method implementation /// </summary> internal bool DeleteUserData(MFAUserList registrations) { bool ret = MMCService.DeleteUser(registrations); DeleteRows(registrations); return(ret); }
/// <summary> /// DeleteUserData method implementation /// </summary> internal bool DeleteUserData(MFAUserList registrations) { try { bool ret = MMCService.DeleteUser(registrations); DeleteRows(registrations); return(ret); } catch (Exception ex) { MessageBoxParameters messageBoxParameters = new MessageBoxParameters { Text = ex.Message, Buttons = MessageBoxButtons.OK, Icon = MessageBoxIcon.Error }; SnapIn.Console.ShowDialog(messageBoxParameters); return(false); } }