public JsonResult Delete(int ID) { return(Json(depDB.Delete(ID), JsonRequestBehavior.AllowGet)); }
/// <summary> /// </summary> /// <param name="deptId"></param> /// <returns></returns> public bool Delete(int deptId) { return(_deptDB.Delete(deptId)); }