示例#1
0
        public IActionResult Delete(int id)
        {
            var result = _bonusService.DeleteOne(id);

            if (result == null)
            {
                return(NotFound());
            }
            return(Ok(result));
        }