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);
            }
        }