public ListWalletQueryHandler(
     IUserContext userContext,
     IWalletReadOnlyRepository readOnlyRepository,
     IMapperDefinition <Wallet, WalletDocument> mapper)
 {
     _userContext        = userContext ?? throw new ArgumentNullException(nameof(userContext));
     _readOnlyRepository = readOnlyRepository ?? throw new ArgumentNullException(nameof(readOnlyRepository));
     _mapper             = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
 public WalletService(IWalletReadOnlyRepository walletReadOnlyRepository, IWalletWriteOnlyRepository walletWriteOnlyRepository)
 {
     this.walletReadOnlyRepository  = walletReadOnlyRepository ?? throw new ArgumentNullException(nameof(walletReadOnlyRepository));
     this.walletWriteOnlyRepository = walletWriteOnlyRepository ?? throw new ArgumentNullException(nameof(walletWriteOnlyRepository));
 }