// GET: Department public ActionResult DeptIndex() { MVCProjectEntities db = new MVCProjectEntities(); return(View(db.DEPARTMENTs.ToList())); }