public ActionResult AddEmployee() { Department dp = new Models.Department(); ViewBag.depid = dp.all(); Designation dsg = new Designation(); ViewBag.ddddd = dsg.all(); return(View()); }