public ActionResult Popular()
 {
     MostPopularViewModel vm = new MostPopularViewModel();
     vm.Items = repository.GetPopular();
     return PartialView("PopularControl", vm);
 }
 public HomeViewModel()
 {
     UserDetails = new UserDetailsViewModel();
     NewsItems   = new NewsItemsViewModel();
     MostPopular = new MostPopularViewModel();
 }
 public HomeViewModel()
 {
     UserDetails = new UserDetailsViewModel();
     NewsItems = new NewsItemsViewModel();
     MostPopular = new MostPopularViewModel();
 }