public async Task <InstitutionsSearchResponse> SearchAsync(InstitutionsSearchRequest request)
        {
            var data    = JsonSerializer.Serialize(request, SerializerOptions);
            var content = new StringContent(data, Encoding.UTF8, "application/json");

            var httpResponse = await HttpClient.PostAsync("/institutions/search", content);

            httpResponse.EnsureSuccessStatusCode();

            var rawResponse = await httpResponse.Content.ReadAsStringAsync();

            return(JsonSerializer.Deserialize <InstitutionsSearchResponse>(rawResponse, SerializerOptions));
        }
 public InstitutionsSearchResponse Search(InstitutionsSearchRequest request)
 {
     return(SearchAsync(request).GetAwaiter().GetResult());
 }