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