Esempio n. 1
0
        public async Task <IActionResult> Put(long id, ToDoItem item)
        {
            var response = await _toDoItemService.PutToDoItemAsync(id, item);

            if (response == null)
            {
                return(BadRequest());
            }

            return(NoContent());
        }