public IActionResult DeleteCategory([FromServices] DeleteCategory deleteCategory, int id) => Ok(deleteCategory.Do(id));