public Contact Execute(Guid societeId, string nom, string prenom, string email, string telephone) { if (!_companyQueries.Exists(societeId)) { throw new CreateContactException(); } var contact = Contact.Create(societeId, nom, prenom, email, telephone); PublishUncommitedEvents(contact); return(contact); }