Пример #1
0
        public async Task <IActionResult> Delete(int Id)
        {
            var affectedResult = await _manageProductService.delete(Id);

            if (affectedResult == 0)
            {
                return(BadRequest());
            }
            return(Ok());
        }