public async Task<MockInstance> GetMockAsync(HttpMockRequest mockRequest) { var requestKey = mockRequest.GetRequestKey().ToBase64String(); _logger.LogInformation($"Searching Mock with RequestKey: {requestKey}"); return await _mockRepository.GetAsync(requestKey); }
public string CreateKey(HttpMockRequest mockRequest) { var requestKey = mockRequest.GetRequestKey().ToBase64String(); _logger.LogInformation($"Created RequestKey: {requestKey}"); return requestKey; }