public ActionResult Insert_UpdateDesignation(int hdnvalue, int DesignationId, string Designationname) { List<string> Response = new List<string>(); using (SecurityDBEntities entities = new SecurityDBEntities()) { Response = entities.DesignationMInsert_update_get(hdnvalue, DesignationId, Designationname, Convert.ToInt32(Session["Userid"])).ToList(); } return Json(Response); }