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

GetByUser() public method

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