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

GetByPostId() public method

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