public int Update(Goods t) { return(dal.Update(t)); }
public int UpdateKu(Goods goods) { return(shopcar.UpdateKu(goods)); }
public int Add(Goods t) { return(dal.Add(t)); }
public void EditGoods(Goods goods) { igoods.EditGoods(goods); }
public void AddGoods(Goods goods) { igoods.AddGoods(goods); }
public void RemoveGoods(Goods goods) { igoods.RemoveGoods(goods); }
public Goods GetGoodsById(int?id) { Goods goods = igoods.GetGoodsById(id); return(goods); }