I was wondering if anyone could could explain to me how to add a friend through DNN API. I have looked through the API and as a novice programmer I just can't quite get my head around it.
I see RelationshipController.Instance.SaveUserRelationship(UserRelationship, userRelationship)
and think that this could do the job but how to use it?
Thanks for the help