Esempio n. 1
0
 public void Handle(PatientUpdated e)
 {
     _patients.Update(e.Id, patient =>
     {
         patient.PatientId = e.Id;
         patient.Initials = e.Initials;
         patient.DateOfBirth = e.DateOfBirth;
         patient.Level = e.Level;
         patient.Name = e.Name;
         patient.SiteId = e.SiteId;
     });
 }
Esempio n. 2
0
 public void On(PatientUpdated e)
 {
     Level = e.Level;
     DateOfBirth = e.DateOfBirth;
 }