public JsonResult Delete(string ID) { CONTACT con = new CONTACT(); CUSTOMER cus = new CUSTOMER(); con.DeleteContactByCusId(ID); var result = cus.Delete(ID); return(Json(result)); }
public JsonResult Delete(string ID) { CONTACT con = new CONTACT(); CUSTOMER cus = new CUSTOMER(); con.DeleteContactByCusId(ID); var result = cus.Delete(ID); return(Json(result)); }