示例#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));
 }