Blog.Services.Helpers.Wcf.CommentsResource.Add C# (CSharp) Method

Add() public method

public Add ( Comment comment ) : Comment
comment Blog.Common.Contracts.Comment
return Blog.Common.Contracts.Comment
        public Comment Add(Comment comment)
        {
            using (var svc = new ServiceProxyHelper<ICommentsService>("CommentsService"))
            {
                return svc.Proxy.Add(comment);
            }
        }