public async Task <Maybe <OperationDto> > GetAsync(Guid requestId) => await _providerClient.GetUsingStorageAsync(_providerSettings.OperationsApiUrl, $"/operations/{requestId}", async() => await _operationRepository.GetAsync(requestId), async operation => await _operationRepository.AddAsync(operation));
public async Task <Maybe <UserDto> > GetAsync(string userId) => await _providerClient.GetUsingStorageAsync(_providerSettings.UsersApiUrl, $"/users/{userId}", async() => await _userRepository.GetByIdAsync(userId), async user => await _userRepository.AddAsync(user));