public ActionResult CreateDept(Dept objdept) { //objleave.Id = Session["id"].ToString(); //objLeaveBLL.crea(objdept); objEmpBLL.CreateDept(objdept); //objleave.Id = Session["id"].ToString(); //string id = objleave.Id; return(RedirectToAction("GetDepts", "Emp" /* new { id }*/)); }