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

            country.Destroy();
        }
Esempio n. 2
0
        public void Handle(Commands.Destroy command)
        {
            var country = _uow.R <Country>().Get(command.CountryId);

            country.Destroy();
        }