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