Exemplo n.º 1
0
        public async Task <Results <Hearing> > FindHearings(string query = null, Hearing searchPrototype = null)
        {
            var parms = new Dictionary <string, object>();

            parms.Add("query", query);
            parms.AddSearchableProperties(searchPrototype);

            return(await _service.Get <Results <Hearing> >("hearings", parms));
        }
        public async Task<Results<Hearing>> FindHearings(string query = null, Hearing searchPrototype = null)
        {
            var parms = new Dictionary<string, object>();
            parms.Add("query", query);
            parms.AddSearchableProperties(searchPrototype);

            return await _service.Get<Results<Hearing>>("hearings", parms);
        }