public async Task Handle(Commands.Destroy command, IMessageHandlerContext ctx) { var country = await _uow.For <Country>().Get(command.CountryId); country.Destroy(); }
public void Handle(Commands.Destroy command) { var country = _uow.R <Country>().Get(command.CountryId); country.Destroy(); }