Return array in controller.