Use QSAPI in BaseController