示例#1
0
 public Holder <Friend> AddFriend(Friend friend)
 {
     return(_userDatabase.AddFriend(friend) ? CheckFriend(friend, 200, "") :
            CheckFriend(friend, 400, "Error while trying to add friend"));
 }