private void OpenStoreAndAddProducts() { _shoppingBridge = StoreShoppingDriver.getBridge(); _shoppingBridge.GetStoreShoppingService(_storeOwnerBridge.GetUserSession()); _shoppingBridge.OpenStore(storeName, "Great Place"); _storeManagementBridge = StoreManagementDriver.getBridge(); _storeManagementBridge.GetStoreManagementService(_storeOwnerBridge.GetUserSession(), storeName); _storeManagementBridge.AddNewLottery("Fanta", 12, "very nice fanta", Convert.ToDateTime("14/04/2018"), Convert.ToDateTime("28/12/2018")); _storeManagementBridge.AddNewLottery("Cola", 24, "very nice cola", Convert.ToDateTime("14/04/2018"), Convert.ToDateTime("28/12/2018")); }
public MarketAnswer AddNewLottery(string _name, double _price, string _description, DateTime startDate, DateTime endDate) { if (real != null) { return(real.AddNewLottery(_name, _price, _description, startDate, endDate)); } throw new NotImplementedException(); }