Пример #1
0
        public Holder <Friend> ConfirmFriendship(Friend friend)
        {
            Friend retval = _userDatabase.ConfirmFriendship(friend);

            return(retval.FriendshipId == 0 ? CheckFriend(friend, 400, "Error while trying to confirm friendship")
                : CheckFriend(retval, 200, ""));
        }