fix API for V2 (#4110)
parent
1c1be22f1b
commit
82255a4cd9
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue