Esempio n. 1
0
        public async Task <IActionResult> AddShopProduct([FromForm] ShopProductInput input)
        {
            Result <string> result = await _productManager.AddShopProduct(input);

            if (result.Success)
            {
                return(Ok(result));
            }
            else
            {
                return(BadRequest(result));
            }
        }