fix API for V2 (#4110)

pull/4111/head
Rick Anderson 2017-08-25 15:16:18 -04:00 committed by GitHub
parent 1c1be22f1b
commit 82255a4cd9
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ namespace TodoApi
{
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<TodoContext>(opt => opt.UseInMemoryDatabase());
services.AddDbContext<TodoContext>(opt => opt.UseInMemoryDatabase("TodoList"));
services.AddMvc();
}