public async Task <IEnumerable <SubjectDto> > GetSubjectsAsync() { var httpClient = await PrepareClientAsync(); var response = await httpClient.GetAsync(new Uri(_monolithApiSettings.BaseUrl, "/api/subjects")); response.StatusCode.Should().Be(HttpStatusCode.OK); return(await _httpClientProvider.DeserializeAsync <IEnumerable <SubjectDto> >(response)); }