public static MajorIndexListingViewModel LoadMajorIndexViewModel(IMajorIndexService majorIndexService) { MajorIndexListingViewModel majorIndexViewModel = new MajorIndexListingViewModel(majorIndexService); majorIndexViewModel.LoadMajorIndexes(); return(majorIndexViewModel); }
public HomeViewModel(MajorIndexListingViewModel majorIndexViewModel) { _MajorIndexListingViewModel = majorIndexViewModel; }