Pass data from controller to ExcelWriter