Blog.Services.Helpers.Rest.CommentLikesRestResource.Add C# (CSharp) Method

Add() public method

public Add ( int commentId, string username, string authenticationToken ) : void
commentId int
username string
authenticationToken string
return void
        public void Add(int commentId, string username, string authenticationToken)
        {
            using (var svc = new HttpClientHelper())
            {
                var commentLikeDummy = new CommentLike();
                svc.Post(Constants.BlogRestUrl, 
                    string.Format("comments/likes?commentId={0}&username={1}", commentId, username),
                    commentLikeDummy, authenticationToken);
            }
        }
    }
CommentLikesRestResource