Move find orders method from controller to model