예제 #1
0
 public IList<Goods> LastAddedGoods(int firstResult, int selectCount)
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     return goodsCRUD.LastAddedGoods(firstResult, selectCount);
 }
예제 #2
0
 public IList<Goods> HaveDiscountGoods(int firstResult, int selectCount)
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     return goodsCRUD.HaveDiscountGoods(firstResult, selectCount);
 }
예제 #3
0
 public void SaveEditGoods(Goods goods, GoodsImages goodsImages, int goodsID)
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     goodsCRUD.SaveEditGoods(goods, goodsImages, goodsID);
 }
예제 #4
0
 public void DeleteGoods(int goodsID)
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     goodsCRUD.DeleteGoods(goodsID);
 }
예제 #5
0
 public Goods FindSelectedGoods(int ID)
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     return goodsCRUD.FindSelectedGoods(ID);
 }
예제 #6
0
 public int AddGoods(Goods goods, GoodsImages goodsImages, int categotyID)
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     return goodsCRUD.AddGoods(goods, goodsImages, categotyID);
 }
예제 #7
0
 public byte[] FindPicture(int goodsID)
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     return goodsCRUD.FindPicture(goodsID);
 }
예제 #8
0
 public List<Goods> GetGoodsMostSold()
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     return goodsCRUD.GetGoodsMostSold();
 }
예제 #9
0
 public List<Goods> GetGoods(int categoryID)
 {
     GoodsCRUD goodsCRUD = new GoodsCRUD();
     return goodsCRUD.GetGoods(categoryID);
 }