Exemplo n.º 1
0
 /// <summary>
 /// Removes a friend relationship
 /// </summary>
 /// <param name="friend">The friend relationship that should be deleted</param>
 /// <returns>The result of the operation as a <see cref="T:Task{String}</returns>
 public async Task <string> DeleteFriend(FriendLink friend)
 {
     return(await _httpHelper.Delete(_token, $"api/friend/{friend.GameId}/{friend.PlayerId}/{friend.FriendId}"));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Removes a friend relationship
 /// </summary>
 /// <param name="friend">The friend relationship that should be deleted</param>
 /// <returns>The result of the operation as a <see cref="T:Task{String}</returns>
 public async Task<string> DeleteFriend(FriendLink friend)
 {
     return await _httpHelper.Delete(_token, $"api/friend/{friend.GameId}/{friend.PlayerId}/{friend.FriendId}");
 }