示例#1
0
        public string AddProductToBasket(int storeId, int productId, int amount)
        {
            bool ret;

            try
            {
                ret = TransactionService.AddProductToBasket(user, storeId, productId, amount);
                return(resultJson(ret));
            }
            catch (Exception e)
            {
                return(generateMessageFormatJason(e.Message));
            }
        }
示例#2
0
 public bool AddProductToBasket(int storeId, int productId, int amount)
 {
     return(TransactionService.AddProductToBasket(user, storeId, productId, amount));
 }