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