예제 #1
0
        public IActionResult Delete(int toolID)
        {
            bool isSuccess = _toolRepo.deleteTool(toolID);

            if (!isSuccess)
            {
                return(NotFound("No no no"));
            }

            return(Ok("success"));
        }