Ejemplo n.º 1
0
        public async Task <IActionResult> Index(CancellationToken cancellationToken = default)
        {
            _logger.LogDebug("Fetching todo items from the server");
            var data = await _todoService.GetAllTodo(cancellationToken);

            return(View(data));
        }