public void DeleteMedicine(Medicine med) { log.OnDeleteEventLog(new MedicineEventArgs(med)); ReplacementsCreator.deleteAll(med); medBase.Remove(med); }
public void DeleteMedicine(int index) { log.OnDeleteEventLog(new MedicineEventArgs(medBase[index])); ReplacementsCreator.deleteAll(medBase[index]); medBase.RemoveAt(index); }