예제 #1
0
        public ActionResult Reset(int id)
        {
            var Dorm = new Dorms();

            ViewBag.dorms = Dorm.GetAll();
            var User = new Users();

            return(View(User.FindById(id)));
        }
예제 #2
0
        public ActionResult Edit(int id)
        {
            var Dorm = new Dorms();

            ViewBag.dorms = Dorm.GetAll();
            var Buidling = new Buildings();

            return(View(Buidling.FindById(id)));
        }