public async Task <IActionResult> Index()
        {
            var items = await _todoItemService.GetIncompleteItemsAsync();

            var model = new ElizabethFancherTodoViewModel()
            {
                Items = items
            };

            return(View(model));
        }
        public async Task <IActionResult> Index()
        {
            // Get to-do items from database
            var items = await _todoItemService.GetIncompleteItemsAsync();

            // Put items into a model
            var model = new ElizabethFancherTodoViewModel()
            {
                Items = items
            };

            // Render view using the model
            return(View(model));
        }