public virtual void Init(String baseUrl) { Goods.Initialize(baseUrl + "goods.xml"); CoffeMachinePurse.Initialize(baseUrl + "coffee.xml"); UserPurse.Initialize(baseUrl + "user.xml"); PurchaseInfo.Initialize(baseUrl + "purchase.xml"); }
public virtual void Save(String baseUrl) { Goods.Save(baseUrl + "goods.xml"); CoffeMachinePurse.Save(baseUrl + "coffee.xml"); UserPurse.Save(baseUrl + "user.xml"); PurchaseInfo.Save(baseUrl + "purchase.xml"); }