예제 #1
0
 public void AddGoods(Good goods)
 {
     igooder.AddGoods(goods);
 }
예제 #2
0
 public static int EditGood(Good good)
 {
     GoodSvc.Update(good);
     return(0);
 }
예제 #3
0
 public static int AddGood(Good good)
 {
     GoodSvc.Create(good);
     return(0);
 }
예제 #4
0
 public static int GetGoodById(int id, ref Good good)
 {
     good = GoodSvc.RetrieveById(id)[0];
     return(0);
 }