public EpiApi(HttpClient httpClient)
{
if (httpClient.BaseAddress == null)
throw new InvalidOperationException("You must set the BaseAddress property of the HttpClient instance");
client = httpClient;
SchemaValidation = new SchemaValidationSettings
{
Enabled = true,
RaiseExceptions = true
};
}