public bool Delete(long id, long person) { try { var update = reportDAL.Delete(id, person); return(update); } catch { return(false); } }
public Boolean Delete(SqlInt32 ReportID) { ReportDAL dalReport = new ReportDAL(); if (dalReport.Delete(ReportID)) { return(true); } else { Message = dalReport.Message; return(false); } }
public void Delete(int id) { dal.Delete(id); }