Exemple #1
0
 public static Boolean Delete(String maLoaiSP)
 {
     if (LoaiSanPhamDAO.IsExist(maLoaiSP))
     {
         return(LoaiSanPhamDAO.Delete(maLoaiSP));
     }
     return(false);
 }
Exemple #2
0
 public static Boolean Update(LoaiSanPhamDTO loaiSanPhamDTO)
 {
     if (LoaiSanPhamDAO.IsExist(loaiSanPhamDTO.MaLoaiSP))
     {
         return(LoaiSanPhamDAO.Update(loaiSanPhamDTO));
     }
     return(false);
 }