예제 #1
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 // 3.2) Open a store
 public bool OpenStore(string username, string storeName, string policy)
 {
     return(StoreLogic.OpenStore(username, storeName, policy));
 }
예제 #2
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public List <Store> GetAllStores()
 {
     return(StoreLogic.GetAllStores());
 }
예제 #3
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public List <string> GetStoresNames()
 {
     return(StoreLogic.GetStoresNames());
 }
예제 #4
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public List <string> GetStorePurchaseHistory(string ownerUser, string storeName)
 {
     return(StoreLogic.GetStorePurchaseHistory(ownerUser, storeName));
 }
예제 #5
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public bool UpdateProductAmountInStore(string userName, string storeName, string productBarcode, int amount)
 {
     return(StoreLogic.UpdateProductAmountInStore(userName, storeName, productBarcode, amount));
 }
예제 #6
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public bool RemoveProductFromStore(string userName, string storeName, string productBarcode)
 {
     return(StoreLogic.RemoveProductFromStore(userName, storeName, productBarcode));
 }
예제 #7
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public bool AddProductToStore(string shopName, string barcode, int amount)
 {
     return(StoreLogic.AddProductToStore(shopName, barcode, amount));
 }
예제 #8
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public bool IsManger(string storeName, string mangerName)
 {
     return(StoreLogic.IsManger(storeName, mangerName));
 }
예제 #9
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public string GetStorePolicy(string storeName)
 {
     return(StoreLogic.GetStorePolicy(storeName));
 }
예제 #10
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public bool UpdateStorePolicy(string storeName, IPurchasePolicy newPolicy)
 {
     return(StoreLogic.UpdateStorePolicy(storeName, newPolicy));
 }
예제 #11
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public List <Store> GetUserStores(string userName)
 {
     return(StoreLogic.GetUserStores(userName));
 }
예제 #12
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public bool RemoveManager(string apointerid, string storeName, string apointeeid)
 {
     return(StoreLogic.RemoveManager(storeName, apointeeid));
 }
예제 #13
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public bool AddManager(string storeName, string apointerid, string apointeeid, int permissions)
 {
     return(StoreLogic.AddManager(storeName, apointerid, apointeeid, permissions));
 }
예제 #14
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public bool AddOwner(string storeName, string apointerid, string apointeeid)
 {
     return(StoreLogic.AddOwner(storeName, apointerid, apointeeid));
 }
예제 #15
0
파일: Logic.cs 프로젝트: shadyObeed/Sadna
 public List <string> GetStoreManagers(string storeName)
 {
     return(StoreLogic.GetStoreManagers(storeName));
 }