/**
  * Display a list of active talents
  *
  * @param UserRepository $userRepository
  * @return $this
  */
 public function index(UserRepository $userRepository)
 {
     $talents = $userRepository->findActiveTalents(Input::get('tag'), Input::get('describes'), Input::get('location'), null, 12, Input::get('professions'));
     $describes = Skill::lists('name', 'id')->all();
     $professions = Profession::lists('name', 'id')->all();
     return view('talent.index')->with('talents', $talents)->with('describes', $describes)->with('professions', $professions);
 }
 /**
  * Show the application welcome screen to the user.
  *
  * @param StartupRepository $startupRepository
  * @param UserRepository $userRepository
  * @return Response
  */
 public function index(StartupRepository $startupRepository, UserRepository $userRepository)
 {
     $startups = $startupRepository->allActive(null, null, DB::raw('RAND()'), 2);
     $talent = $userRepository->findActiveTalents(null, null, null, DB::raw('RAND()'), 2);
     return view('welcome')->with('startups', $startups)->with('talents', $talent);
 }