Return the result on the ajax controller.