public ActionResult <IEnumerable <Prescription> > Get() { var service = new PrescriptionService(); var prescriptions = service.GetAll(); return(Ok(prescriptions)); }