コード例 #1
0
        public ActionResult <IEnumerable <Item> > CreateToDoItem(int listId, Item item)
        {
            Item createdItem = toDoItemService.CreateToDoItemInList(listId, item);

            return(Created($"/lists/{listId}/tasks/{createdItem.itemId}", createdItem));
        }