Beispiel #1
0
 public Booking(Guid id, DateTime appointmentTime, HealthInstitution healthInstitution, Person person)
 {
     Id = id;
     AppointmentTime   = appointmentTime;
     HealthInstitution = healthInstitution;
     Person            = person;
 }
Beispiel #2
0
 public Booking(DateTime appointmentTime, HealthInstitution healthInstitution, Person person)
 {
     Id = Guid.NewGuid();
     AppointmentTime   = appointmentTime;
     HealthInstitution = healthInstitution;
     Person            = person;
     IsActive          = true;
 }