public IActionResult Index(string name, int?age)
        {
            var characters = _charactersRepository.GetCharactersWithDependencies();

            if (name != null && age != null)
            {
                ViewData["Character"] = characters.FirstOrDefault(character => character.Name == name && character.Age == age);
            }

            else
            {
                ViewData["Characters"] = characters.ToList();
            }
            return(View());
        }