예제 #1
0
        public ActionResult AreYouSure(FormCollection collection, string submit)
        {
            if (submit == "Add Prescription")
            {
                PatientModel model = new PatientModel();
                model.AddPrescription(collection["id"], collection["first"], collection["last"], collection["medicine"], collection["begin"], collection["finish"], collection["ndc"], collection["Frequency"], collection["Comments"]);
            }
            var Model = new PatientModel();

            return(View("Patients", Model.GetPatients()));
        }