public void Delete(int id) { JobDAL dal = new JobDAL(); dal._conn = this._conn; dal.Delete(id); }
public void Delete(JobML Job) { try { JobDAL.Delete(Job); } catch (Exception ex) { throw new Exception(String.Format("{0}.Delete: {1}", core, ex)); } }
public static bool Delete() { bool status = JobDAL.Delete(2); return(status); }
public static void Delete(Job add) { db.Delete(add); }