Blog.Services.Helpers.Wcf.PostsResource.SearchPosts C# (CSharp) Method

SearchPosts() public method

public SearchPosts ( string query, int threshold = 5, int skip = 10 ) : List
query string
threshold int
skip int
return List
        public List<Post> SearchPosts(string query, int threshold = 5, int skip = 10)
        {
            using (var svc = new ServiceProxyHelper<IPostsService>("PostsService"))
            {
                return svc.Proxy.SearchPosts(query, threshold, skip);
            }
        }
    }