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

GetByPostId() 공개 메소드

public GetByPostId ( int id ) : List
id int
리턴 List
        public List<Comment> GetByPostId(int id)
        {
            using (var svc = new ServiceProxyHelper<ICommentsService>("CommentsService"))
            {
                return svc.Proxy.GetByPostId(id);
            }
        }