public async Task <ActionResult> Index(HomePageViewModel model) { model.Beers = await beerRepository.GetBeers(model.GetQueryConstraints()); model.Glasswares = await glassMenuRepository.GetMenu(); model.Availabilities = await beerAvailibilityMenuRepository.GetMenu(); model.Styles = await styleMenuRepository.GetMenu(); return(View(model)); }