private async void RemoveFriendRequest(string friendId) { try { IsBusy = true; await _friendsManager.RemoveFriendsLinkingWith(friendId); LoadFriends(); IsBusy = false; } catch (Exception ex) { HandleError(ex); } }
private async void RemoveFriend() { try { IsBusy = true; await _friendsManager.RemoveFriendsLinkingWith(_personProfileId); IsBusy = false; await ShowMessage("Successfully deleted!"); _customNavigationService.NavigateTo(PageKeys.FriendsList); } catch (Exception ex) { HandleError(ex); } }