function getIndex() { $accounts = VideoCloudAccount::orderBy("id", "DESC")->paginate(20); return view("manager/contents/videocloud/index")->with("accounts", $accounts); }
/** Obtiene el Email de la cuenta vigente * * @return type */ static function getCurrentAccountEmail() { return VideoCloudAccount::orderBy("id", "DESC")->take(1)->get()[0]->email; }