Example #1
0
        private async void DeleteFriend(object friendObject)
        {
            Answer friend = friendObject as Answer;

            if (friend != null)
            {
                IsBusy = true;
                UserTest deletedFriend = await friendsService.Delete(friend.Id);

                if (deletedFriend != null)
                {
                    UserTests.Remove(deletedFriend);
                }
                IsBusy = false;
            }
            Back();
        }