Пример #1
0
 public static bool XoaLoaiSP(string maLoaiSP)
 {
     if (!LoaiSanPhamDAO.KTMaLoaiSPTonTai(maLoaiSP))
     {
         return(false);
     }
     else
     {
         return(LoaiSanPhamDAO.XoaLoaiSP(maLoaiSP));
     }
 }
Пример #2
0
 public static int XoaLoaiSP(string malsp)
 {
     return(LoaiSanPhamDAO.XoaLoaiSP(malsp));
 }