From 82255a4cd95519d16111381e370e1c96581ea9ff Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Fri, 25 Aug 2017 15:16:18 -0400 Subject: [PATCH] fix API for V2 (#4110) --- aspnetcore/tutorials/first-web-api/sample/TodoApi/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }