Exemplo n.º 1
0
        public async Task <Result> Handle(CreateMerchantCommand request, CancellationToken cancellationToken)
        {
            var merchant = await _merchantRepository.GetByIdentityIdAsync(request.MerchantId);

            if (merchant is { })