public IActionResult DeleteProductTypeById(int id) { var productTypeRowsAffected = _repository.DeleteProductTypeById(id); return(Ok($"{productTypeRowsAffected} product type rows affected")); }