protected async Task ProcessCommand(UpdateParticipantList command) { if (command == null) { throw new ArgumentNullException(nameof(command)); } var evento = (await NonEventSourceRepository.GetEvent(command.Id)).ToDomainEvent(); evento.UpdateParticipantList(command.ParticipantList); await NonEventSourceRepository.SaveEvent(evento); }