Exemplo n.º 1
0
        public SearchResults SubmitNewSearch(SearchParameterCommand searchObject)
        {
            var requestPath = $"/cards/search?order=name&q=name={searchObject.Name}";

            var request = new RestRequest(requestPath, DataFormat.Json);

            var response = _client.Get(request).Content;

            var searchResults = SearchResults.FromJson(response);


            return(searchResults);
        }
        public SearchResults SubmitNewSearch(SearchParameterCommand searchObject)
        {
            var cardResp = _searchRepo.SubmitNewSearch(searchObject);

            return(cardResp);
        }
 public SearchResults SubmitSearch(SearchParameterCommand searchObject)
 {
     return(_searchRepo.SubmitSearch(searchObject));
 }