public IActionResult Delete(int id) { var result = _bonusService.DeleteOne(id); if (result == null) { return(NotFound()); } return(Ok(result)); }