public void Handle(Commands.SymbolBefore command) { var currency = _uow.R <Currency>().Get(command.CurrencyId); currency.ChangeSymbolBefore(command.Before); }
public async Task Handle(Commands.SymbolBefore command, IHandleContext ctx) { var currency = await _uow.For <Currency>().Get(command.CurrencyId); currency.ChangeSymbolBefore(command.Before); }