public Task ExecuteAsync(CreateAddressCommand message) { foreach (var item in message.Addresses) { addresses.Add(_addressFactory.Create(item)); } _adresseRepository.AddRange(addresses); return(Task.CompletedTask); }