示例#1
0
        public IActionResult Delete(int id)
        {
            bool result = _repository.DeleteShop(id);

            if (result)
            {
                return(Ok());
            }
            else
            {
                return(NotFound());
            }
        }