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