public async Task <IActionResult> DeleteCategory( int id, [FromServices] DeleteCategory deleteCategory) => Ok(await deleteCategory.Action(id));
public async Task <IActionResult> DeleteCategory( int id, [FromServices] DeleteCategory deleteCategory) => Ok(await deleteCategory.Action(id));