public async Task <IActionResult> Index(string search) { var animalList = await Animal.AnimalIndex(search); Console.WriteLine("animalsList-------------------"); return(View(animalList)); }