public FeaturedController(IUserService userService, IAuthentication authentication, IListingService listingService, IFeaturedService featuredService) { _userService = userService; _authentication = authentication; _listingService = listingService; _featuredService = featuredService; }
public HomeViewModel() { Loaded += OnLoaded; var loc = new LocalServiceLocator(); Featured = loc.FeaturedService; CoApp = loc.CoAppService; GoToSearch = new RelayCommand(() => loc.NavigationService.GoTo(new ViewModelLocator().SearchViewModel)); }