//get product fl block public static List <SANPHAM_DTO> GetProductFlBlock(string idBlock) { return(SANPHAM_DAL.GetProductFlBlock(idBlock)); }
//quantity product fol category public static int Quanity(string idCate) { return(SANPHAM_DAL.Quanity(idCate)); }
//quanity pro fol block public static int QuantityFlBlock(string idBlock) { return(SANPHAM_DAL.QuantityFlBlock(idBlock)); }
public static bool CheckExist(string nameSp, string codeId) { return(SANPHAM_DAL.CheckExist(nameSp, codeId)); }
public static List <SANPHAM_DTO> GetProductLike(string key) { return(SANPHAM_DAL.GetProductKey(key)); }
public static List <SANPHAM_DTO> GetSingleProduct(string idSp) { return(SANPHAM_DAL.GetSingleProduct(idSp)); }
public static List <SANPHAM_DTO> GetSingleProductName(string nameSp) { return(SANPHAM_DAL.GetSingleProductName(nameSp)); }
public static List <SANPHAM_DTO> TimKiemSanPham(string idSp) { return(SANPHAM_DAL.TimKiemSanPham(idSp)); }
//Xóa sản phẩm public static bool XoaSanPham(string idSp) { return(SANPHAM_DAL.XoaSanPham(idSp)); }
//Sửa thông tin sản phẩm public static SANPHAM_DTO SuaSanPham(BANG_SANPHAM sp) { return(SANPHAM_DAL.SuaSanPham(sp)); }
//Thêm sản phẩm. public static SANPHAM_DTO ThemSanPham(BANG_SANPHAM sp) { return(SANPHAM_DAL.ThemSanPham(sp)); }
//Lấy danh sách sản phẩm public static List <SANPHAM_DTO> LayDanhSachSanPham(string flag) { return(SANPHAM_DAL.LayDanhSachSanPham(flag)); }