public ActionResult Create(DormBuilding dormbuilding)
        {
            if (ModelState.IsValid)
            {
                Db.DormBuildings.Add(dormbuilding);
                Db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(dormbuilding);
        }
 public ActionResult Edit(DormBuilding dormbuilding)
 {
     if (ModelState.IsValid)
     {
         Db.Entry(dormbuilding).State = EntityState.Modified;
         Db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(dormbuilding);
 }