diff --git a/aspnetcore/tutorials/first-web-api/sample/TodoApi/Startup.cs b/aspnetcore/tutorials/first-web-api/sample/TodoApi/Startup.cs index 339d4a73ad..bd281b7673 100644 --- a/aspnetcore/tutorials/first-web-api/sample/TodoApi/Startup.cs +++ b/aspnetcore/tutorials/first-web-api/sample/TodoApi/Startup.cs @@ -9,7 +9,7 @@ namespace TodoApi { public void ConfigureServices(IServiceCollection services) { - services.AddDbContext(opt => opt.UseInMemoryDatabase()); + services.AddDbContext(opt => opt.UseInMemoryDatabase("TodoList")); services.AddMvc(); }