Commit ce4fee4c authored by Steve Smith's avatar Steve Smith

parent 38f2e9ad
......@@ -34,8 +34,8 @@ namespace CleanArchitecture.Web
// TODO: Add DbContext and IOC
services.AddDbContext<AppDbContext>(options =>
//options.UseInMemoryDatabase(Guid.NewGuid().ToString()));
options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
options.UseInMemoryDatabase("database"));
//options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
services.AddMvc()
.AddControllersAsServices();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment