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