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

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

            httpResponse.EnsureSuccessStatusCode();

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

            return(JsonSerializer.Deserialize <InstitutionsGetByIdResponse>(rawResponse, SerializerOptions));
        }
 public InstitutionsGetByIdResponse GetById(InstitutionsGetByIdRequest request)
 {
     return(GetByIdAsync(request).GetAwaiter().GetResult());
 }