Пример #1
0
 public static bool SuaLoaiMon(LoaiMonDTO loaiMon, List <CTLoaiMon_LoaiToppingDTO> lsLoaiMon_LoaiTopping)
 {
     if (CTLoaiMon_LoaiToppingBUS.SuaLoaiMon_LoaiTopping(loaiMon.MaLoaiMon, lsLoaiMon_LoaiTopping))
     {
         return(LoaiMonDAO.SuaLoaiMon(loaiMon));
     }
     return(false);
 }
Пример #2
0
 public static bool ThemLoaiMon(LoaiMonDTO loaiMon, List <CTLoaiMon_LoaiToppingDTO> lsLoaiMon_LoaiTopping)
 {
     if (LoaiMonDAO.ThemLoaiMon(loaiMon))
     {
         return(CTLoaiMon_LoaiToppingBUS.ThemLoaiMon_LoaiTopping(lsLoaiMon_LoaiTopping));
     }
     return(false);
 }