Beispiel #1
0
 private async void FriendButton_OnClick(object sender, RoutedEventArgs e)
 {
     FriendButton.Visibility = Visibility.Collapsed;
     if (IsFriend)
     {
         await _vm.RemoveFromFriendsList();
     }
     else
     {
         await _vm.AddToFriend();
     }
 }