8 references to TodoDb
RateLimitingSample (8)
Program.cs (8)
14builder.Services.AddDbContext<TodoDb>(opt => opt.UseInMemoryDatabase("TodoList"));
56app.MapGet("/todoitems", async (TodoDb db) =>
61app.MapGet("/todoitems/complete", async (TodoDb db) =>
65app.MapGet("/todoitems/{id}", async (int id, TodoDb db) =>
71app.MapPost("/todoitems", async (Todo todo, TodoDb db) =>
79app.MapPut("/todoitems/{id}", async (int id, Todo inputTodo, TodoDb db) =>
96app.MapDelete("/todoitems/{id}", async (int id, TodoDb db) =>
119public TodoDb(DbContextOptions<TodoDb> options)