Ejemplo n.º 1
0
        public ActionResult patient(string DropDownPat)
        {
            List <spPatInfo_Result> list = new List <spPatInfo_Result>();
            int ID   = Convert.ToInt16(DropDownPat);
            var data = clinic.GetPatient(ID);

            foreach (spPatInfo_Result item in data)
            {
                list.Add(item);
            }
            return(View("patient", list));
        }