Ejemplo n.º 1
0
        public async Task Handle(Commands.ChangeDescription command, IHandleContext ctx)
        {
            var account = await _uow.For <AccountType>().Get(command.AccountTypeId);

            account.ChangeDescription(command.Description);
        }
Ejemplo n.º 2
0
        public void Handle(Commands.ChangeDescription command)
        {
            var account = _uow.R <AccountType>().Get(command.AccountTypeId);

            account.ChangeDescription(command.Description);
        }