コード例 #1
0
 public bool Delete(long id, long person)
 {
     try
     {
         var update = reportDAL.Delete(id, person);
         return(update);
     }
     catch
     {
         return(false);
     }
 }
コード例 #2
0
        public Boolean Delete(SqlInt32 ReportID)
        {
            ReportDAL dalReport = new ReportDAL();

            if (dalReport.Delete(ReportID))
            {
                return(true);
            }
            else
            {
                Message = dalReport.Message;
                return(false);
            }
        }
コード例 #3
0
 public void Delete(int id)
 {
     dal.Delete(id);
 }