public IActionResult Delete([FromRoute] string id)
        {
            var result = _context.Delete(id);

            if (result == false)
            {
                return(BadRequest());
            }
            return(Ok());
        }
Esempio n. 2
0
        public async Task Delete(ProductCategoryModel model)
        {
            await _service.Delete(model);

            return;
        }