Revert "Fixed ResolveControllerType return null"

This reverts commit d82800f9fa65b7697e19b68991da0f0c8b257828.