Beispiel #1
0
        public async Task <ActionResult <TodoItemDTO> > DeleteTodoItem(long id)
        {
            try {
                TodoItemDTO todoItem = await _todoItemService.DeleteTodoItemAsync(id);
            }
            catch (ArgumentException) {
                return(NotFound());
            }

            return(NoContent());
        }