Ejemplo n.º 1
0
 public override async Task <bool> AcceptFriendRequest(string memberId)
 {
     if (!GameService.IsAuthenticated())
     {
         throw new GameServiceException("GameService Not Available").LogException <Friend>(DebugLocation.Friend,
                                                                                           "AcceptFriendRequest");
     }
     if (string.IsNullOrEmpty(memberId))
     {
         throw new GameServiceException("memberId Cant Be EmptyOrNull").LogException <Friend>(
                   DebugLocation.Friend, "AcceptFriendRequest");
     }
     return(await ApiRequest.AcceptFriendRequest(memberId));
 }