Beispiel #1
0
 public void EditMedicine(Medicine med, int index, ReplacementsCreator NewReplacements)
 {
     log.OnChangeEventLog(new MedicineEventArgs(medBase[index], med));
     medBase[index].Copy(med);
     NewReplacements.Update(medBase[index]);
 }
Beispiel #2
0
 public void AddMedicine(Medicine medicine, ReplacementsCreator NewReplacements)
 {
     medBase.Add(medicine);
     NewReplacements.Update(medicine);
     log.OnAddEventLog(new MedicineEventArgs(medicine));
 }