public async Task<MockInstance> CreateMockAsync(string requestKey, string contentType, string bodyContent) { if (requestKey == null) throw new ArgumentException("RequestKey is required"); return await _mockRepository.SaveAsync(requestKey.ToBase64String(), new MockInstance(requestKey, contentType, bodyContent)); }