public IList<Goods> LastAddedGoods(int firstResult, int selectCount) { GoodsCRUD goodsCRUD = new GoodsCRUD(); return goodsCRUD.LastAddedGoods(firstResult, selectCount); }
public IList<Goods> HaveDiscountGoods(int firstResult, int selectCount) { GoodsCRUD goodsCRUD = new GoodsCRUD(); return goodsCRUD.HaveDiscountGoods(firstResult, selectCount); }
public void SaveEditGoods(Goods goods, GoodsImages goodsImages, int goodsID) { GoodsCRUD goodsCRUD = new GoodsCRUD(); goodsCRUD.SaveEditGoods(goods, goodsImages, goodsID); }
public void DeleteGoods(int goodsID) { GoodsCRUD goodsCRUD = new GoodsCRUD(); goodsCRUD.DeleteGoods(goodsID); }
public Goods FindSelectedGoods(int ID) { GoodsCRUD goodsCRUD = new GoodsCRUD(); return goodsCRUD.FindSelectedGoods(ID); }
public int AddGoods(Goods goods, GoodsImages goodsImages, int categotyID) { GoodsCRUD goodsCRUD = new GoodsCRUD(); return goodsCRUD.AddGoods(goods, goodsImages, categotyID); }
public byte[] FindPicture(int goodsID) { GoodsCRUD goodsCRUD = new GoodsCRUD(); return goodsCRUD.FindPicture(goodsID); }
public List<Goods> GetGoodsMostSold() { GoodsCRUD goodsCRUD = new GoodsCRUD(); return goodsCRUD.GetGoodsMostSold(); }
public List<Goods> GetGoods(int categoryID) { GoodsCRUD goodsCRUD = new GoodsCRUD(); return goodsCRUD.GetGoods(categoryID); }