Exemple #1
0
        public async Task <bool> Add(string itemName, string price)
        {
            if (int.TryParse(price, out int priceValue))
            {
                await ItemService.AddPriceForItem(itemName, priceValue);

                return(true);
            }
            return(false);
        }