public LatestHorsesHomePageViewModel GetLatestHorsesForHomePage() { var latestDbHorsesDictionary = _iHorseAdDao.GetLatestHorses(); var latestHorses = new LatestHorsesHomePageViewModel(); latestHorses.LatestInShowJumping = latestDbHorsesDictionary[ApplicationConstants.LatestDictionaryShowJumpingKey].Select(HorseAdConverter.FromHorseAdToHorseAdListModel); latestHorses.LatestInDressage = latestDbHorsesDictionary[ApplicationConstants.LatestDictionaryDressageKey].Select(HorseAdConverter.FromHorseAdToHorseAdListModel); latestHorses.LatestInEventing = latestDbHorsesDictionary[ApplicationConstants.LatestDictionaryEventingKey].Select(HorseAdConverter.FromHorseAdToHorseAdListModel); latestHorses.LatestInEndurance = latestDbHorsesDictionary[ApplicationConstants.LatestDictionaryEnduranceKey].Select(HorseAdConverter.FromHorseAdToHorseAdListModel); return(latestHorses); }