public static Appointment Create(string emailAddress)
        {
            Console.WriteLine("Appointment::Create()");

            var appointment = new Appointment();
            appointment.EmailAddress = emailAddress;

            DomainEvents.Raise<AppointmentCreated>(new AppointmentCreated(appointment));

            return appointment;
        }
 public AppointmentConfirmed(Appointment appointment)
     : this(appointment, DateTime.Now)
 {
 }
 public AppointmentConfirmed(Appointment appointment, DateTime dateConfirmed)
 {
     this.Appointment = appointment;
     this.DateOccurred = dateConfirmed;
 }