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)); } }
public bool AddProductToBasket(int storeId, int productId, int amount) { return(TransactionService.AddProductToBasket(user, storeId, productId, amount)); }