public IndexModel(ILogger <IndexModel> logger, IAnimalService animalService) { _logger = logger; _animalService = animalService; Animals = _animalService.GetAnimals(); ListOfAnimals = new SelectList(_animalService.GetAnimalTypeNames()); }