public async Task <IActionResult> DeleteAsync(long id)
        {
            if (!ModelState.IsValid)
            {
                return(RedirectToAction(nameof(Index)));
            }
            await _todoClient.DeleteItemAsync(id);

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