Beispiel #1
0
        public ActionResult Doctor(string DropDownDoc)
        {
            int ID   = Convert.ToInt16(DropDownDoc);
            var data = clinic.GetDoctor(ID);

            List <spDocInfo_Result> list = new List <spDocInfo_Result>();

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