Esempio n. 1
0
 // GET: Order/Create
 public ActionResult Create()
 {
     ViewBag.PatientID = new SelectList(pf.ToList(), "PatientID", "Name");
     return(View());
 }
Esempio n. 2
0
 // GET: api/PatientAPI
 public List <PatientEntity> GetPatientEntities()
 {
     return(db.ToList());
 }
 // GET: Patient
 public ActionResult Index()
 {
     return(View(db.ToList()));
 }