Example #1
0
    {// 1. *************RETRIEVE ALL Vitals DETAILS ******************
        // GET: Vitals
        public ActionResult VitalsList()
        {
            VitalsMasterDbHandle dbhandle = new VitalsMasterDbHandle();

            ModelState.Clear();
            return(View(dbhandle.GetVitals()));
        }
Example #2
0
        // 3. ************* EDIT Vitals DETAILS ******************
        // GET: Vitals/Edit/5
        public ActionResult Edit(int id)
        {
            VitalsMasterDbHandle sdb = new VitalsMasterDbHandle();

            return(View(sdb.GetVitals().Find(smodel => smodel.Id == id)));
        }