//private FoxesViewModel foxesViewModel; public HomeController(FoxService foxService, FoxesViewModel foxesViewModel) { this.foxService = foxService; FoxesViewModelProp = foxesViewModel; }
public HomeController(FoxService foxService) { this.foxService = foxService; }
public FoxesViewModel(FoxService foxService) { Foxes = foxService.GetFoxes(); }