public ActionResult Reset(int id) { var Dorm = new Dorms(); ViewBag.dorms = Dorm.GetAll(); var User = new Users(); return(View(User.FindById(id))); }
public ActionResult Edit(int id) { var Dorm = new Dorms(); ViewBag.dorms = Dorm.GetAll(); var Buidling = new Buildings(); return(View(Buidling.FindById(id))); }