Blog.Services.Helpers.Wcf.CommentsResource.Add C# (CSharp) 메소드

Add() 공개 메소드

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