Example #1
0
        private async void DeleteCommandExecute()
        {
            if (user.Id == 0)
            {
                ResetUser();
                return;
            }
            if (user.Name != NameTXT)
            {
                ResetUser();
                return;
            }
            else
            {
                await _sqliteService.DeleteUser(user);

                ResetUser();
            }
        }