public IActionResult Create(TodoCategory category)
        {
            if (ModelState.IsValid)
            {
                _todoRepo.AddCategory(category);
                _todoRepo.Save();
                return(RedirectToRoute(new
                {
                    controller = "Todo",
                    action = "List"
                }));
            }

            return(View(category));
        }