コード例 #1
0
 /// <req> https://github.com/chendoy/wsep_14a/wiki/Use-cases#use-case-inventory-management---add-product-411- </req>
 /// <req> https://github.com/chendoy/wsep_14a/wiki/Use-cases#use-case-store-manager--add-product-512- </req
 public Tuple <bool, string> appendProduct(int storeId, string userName, string productDetails, double productPrice, string productName, string productCategory, int amount, string imgUrl = @"Image/bana.png")
 {
     return(storeManagment.appendProduct(storeId, userName, productDetails, productPrice, productName, productCategory, amount, imgUrl));
 }
コード例 #2
0
 private Tuple <bool, string> appendProductDriver(int storeId, string userName, int Pid, string pDetails, double price, string pName, string pCategory, int amount)
 {
     return(storeManagment.appendProduct(storeId, userName, pDetails, price, pName, pCategory, amount, ""));
 }