public void AddPrescriptionToDatabase(prescription prescription) { _medicineRepository.DecreaseQuantity(prescription.medicine_id, prescription.quantity_indicated); _clinicEntities.prescriptions.Add(prescription); }