Ejemplo n.º 1
0
        public void Handle(Commands.ChangeAccuracy command)
        {
            var currency = _uow.R <Currency>().Get(command.CurrencyId);

            currency.ChangeAccuracy(command.ComputationalAccuracy);
        }
Ejemplo n.º 2
0
        public async Task Handle(Commands.ChangeAccuracy command, IHandleContext ctx)
        {
            var currency = await _uow.For <Currency>().Get(command.CurrencyId);

            currency.ChangeAccuracy(command.ComputationalAccuracy);
        }