/// <summary>
        /// Create Item
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public async Task <IActionResult> CreateAsync([Required] string name)
        {
            if (!ModelState.IsValid)
            {
                return(RedirectToAction(nameof(Index)));
            }
            var newTodoItem = new TodoItem
            {
                Name = name
            };
            await _todoClient.CreateItemAsync(newTodoItem);

            return(RedirectToAction(nameof(Index)));
        }