public async Task <IActionResult> Manage() { List <VacationViewModel> vacationCollection = (await vacationRepository.GetAllVacationSorted()).Select(v => new VacationViewModel(v)).ToList(); return(View(new SearchViewModel() { Vacations = vacationCollection })); // get vacations }