public IRestResponse SearchAsString(ConsumerViewQuery query, ConsumerViewQuery.ResponseFormat format)
        {
            IRestResponse response = new RestResponse();
            try
            {
                response = Client.Setup(Configuration).Execute(query.CreateRequest(format));
            }
            catch (Exception e)
            {
                LogException(CreateParameters(query), e);
                throw;
            }

            return response;
        }
        public IRestResponse<ConsumerViewResponse> Search(ConsumerViewQuery query)
        {
            IRestResponse<ConsumerViewResponse> response = new RestResponse<ConsumerViewResponse>();
            try
            {
                response = Client.Setup(Configuration).Execute<ConsumerViewResponse>(query.CreateRequest());
            }
            catch (Exception e)
            {
                LogException(CreateParameters(query), e);
                throw;
            }

            return response;
        }