// 3.2) Open a store public bool OpenStore(string username, string storeName, string policy) { return(StoreLogic.OpenStore(username, storeName, policy)); }
public List <Store> GetAllStores() { return(StoreLogic.GetAllStores()); }
public List <string> GetStoresNames() { return(StoreLogic.GetStoresNames()); }
public List <string> GetStorePurchaseHistory(string ownerUser, string storeName) { return(StoreLogic.GetStorePurchaseHistory(ownerUser, storeName)); }
public bool UpdateProductAmountInStore(string userName, string storeName, string productBarcode, int amount) { return(StoreLogic.UpdateProductAmountInStore(userName, storeName, productBarcode, amount)); }
public bool RemoveProductFromStore(string userName, string storeName, string productBarcode) { return(StoreLogic.RemoveProductFromStore(userName, storeName, productBarcode)); }
public bool AddProductToStore(string shopName, string barcode, int amount) { return(StoreLogic.AddProductToStore(shopName, barcode, amount)); }
public bool IsManger(string storeName, string mangerName) { return(StoreLogic.IsManger(storeName, mangerName)); }
public string GetStorePolicy(string storeName) { return(StoreLogic.GetStorePolicy(storeName)); }
public bool UpdateStorePolicy(string storeName, IPurchasePolicy newPolicy) { return(StoreLogic.UpdateStorePolicy(storeName, newPolicy)); }
public List <Store> GetUserStores(string userName) { return(StoreLogic.GetUserStores(userName)); }
public bool RemoveManager(string apointerid, string storeName, string apointeeid) { return(StoreLogic.RemoveManager(storeName, apointeeid)); }
public bool AddManager(string storeName, string apointerid, string apointeeid, int permissions) { return(StoreLogic.AddManager(storeName, apointerid, apointeeid, permissions)); }
public bool AddOwner(string storeName, string apointerid, string apointeeid) { return(StoreLogic.AddOwner(storeName, apointerid, apointeeid)); }
public List <string> GetStoreManagers(string storeName) { return(StoreLogic.GetStoreManagers(storeName)); }