pull/35/head
Rick Anderson 2022-09-01 15:31:31 -10:00 committed by GitHub
parent 83cbfdcc8a
commit fa0a822f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -10,10 +10,10 @@ class TodoDb : DbContext
public DbSet<Todo> Todos => Set<Todo>();
}
// <snippet_1>
// <snippet>
record TodoItemRequest(int Id, TodoDb Db);
// <snippet_1>
record CreateTodoItemRequest(TodoItemDTO Dto, TodoDb Db);
// </snippet_1>
record EditTodoItemRequest(int Id, TodoItemDTO Dto, TodoDb Db);
// </snippet>
record CreateTodoItemRequest(TodoItemDTO Dto, TodoDb Db);
record EditTodoItemRequest(int Id, TodoItemDTO Dto, TodoDb Db);
// </snippet_1>