Ejemplo n.º 1
0
 public Prescription AddMedicineToPrescription(int prescriptionId, int medicineId, int amount,
                                               int?prescriptionMedicineId)
 {
     _prescriptionRepository.AddOrUpdateMedicineToPrescription(prescriptionId, medicineId, amount,
                                                               prescriptionMedicineId);
     return(_prescriptionRepository.Read(prescriptionId));
 }