Example #1
0
 public async Task <User> SendFriendRequest(string friendName)
 {
     if (loginService.LoggedIn)
     {
         return(await friendService.AddFriendByName(friendName));
     }
     else
     {
         return(null);
     }
 }