give dao to controller.