/** * Get all albums * * @return Collection */ public function all($order = 'desc') { return Album::with('genre')->orderBy('id', $order)->get(); }