/// <inheritdoc/> public async Task <HttpResponse <IEnumerable <T> > > GetArrayAsync <T>(HttpRequest request, RequestContext requestContext, CancellationToken cancellationToken) where T : IResource { PrepareRequest(request, requestContext); var response = await _requestExecutor.ExecuteRequestAsync(request, cancellationToken).ConfigureAwait(false); EnsureResponseSuccess(response); var resources = _serializer .DeserializeArray(PayloadOrEmpty(response)) .Select(x => _resourceFactory.CreateNew <T>(x)); return(CreateResourceResponse(response, resources)); }