예제 #1
0
        // GET: Curd
        public ActionResult Index()
        {
            StudentDbHandel db = new StudentDbHandel();

            ModelState.Clear();

            return(View(db.GetDetails()));
        }
예제 #2
0
        // GET: Curd/Edit/5
        public ActionResult Edit(int id)
        {
            StudentDbHandel dbhn = new StudentDbHandel();

            return(View(dbhn.GetDetails().Find(funding => funding.Id == id)));
        }