Pull common functionality for API controllers into a generic class