adde helper queryParametersToSQLFilter to ApiController