MCPcopy Create free account
hub / github.com/Azure-Samples/todo-csharp-cosmos-sql / UpdateList

Method UpdateList

src/api/ListsRepository.cs:43–46  ·  view source on GitHub ↗
(TodoList existingList)

Source from the content-addressed store, hash-verified

41 }
42
43 public async Task UpdateList(TodoList existingList)
44 {
45 await _listsCollection.ReplaceItemAsync(existingList, existingList.Id, new PartitionKey(existingList.Id));
46 }
47
48 public async Task<IEnumerable<TodoItem>> GetListItemsAsync(string listId, int? skip, int? batchSize)
49 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected