示例#1
0
        public ActionResult Deleteyuango(List <Role> list)
        {
            int val = 0;

            foreach (var item in list)
            {
                val = YuangoManager.delDepart(item.Id);
            }
            if (val > 0)
            {
                return(Json("删除成功", JsonRequestBehavior.AllowGet));
            }
            else
            {
                return(Json("删除失败", JsonRequestBehavior.AllowGet));
            }
        }
示例#2
0
 public ActionResult delDepart(int id) //员工删除
 {
     //det.IsDelete = 1;
     return(Json(YuangoManager.delDepart(id), JsonRequestBehavior.AllowGet));
 }