Exemplo n.º 1
0
 //Create
 public object insertPhuongTien(PhuongTienDTO dtoPhuongTien)
 {
     dalPhuongTien = new PhuongTienDAL();
     try
     {
         return dalPhuongTien.insertPhuongTien(dtoPhuongTien);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemplo n.º 2
0
 //Read
 //Update
 //Delete
 public bool deletePhuongTien(int MaPT)
 {
     dalPhuongTien = new PhuongTienDAL();
     try
     {
         return dalPhuongTien.deletePhuongTien(MaPT);
     }
     catch (Exception)
     {
         throw;
     }
 }