OptionsServices.GetDefaultServices() call no longer required
This is in response to a recent change.
This commit is contained in:
parent
032ad4a444
commit
a7e4fa9c9d
|
|
@ -9,7 +9,6 @@ using Microsoft.AspNet.Security.Cookies;
|
||||||
using Microsoft.Data.Entity;
|
using Microsoft.Data.Entity;
|
||||||
using Microsoft.Framework.ConfigurationModel;
|
using Microsoft.Framework.ConfigurationModel;
|
||||||
using Microsoft.Framework.DependencyInjection;
|
using Microsoft.Framework.DependencyInjection;
|
||||||
using Microsoft.Framework.OptionsModel;
|
|
||||||
using MusicStore.Models;
|
using MusicStore.Models;
|
||||||
|
|
||||||
namespace MusicStore
|
namespace MusicStore
|
||||||
|
|
@ -28,7 +27,6 @@ namespace MusicStore
|
||||||
|
|
||||||
app.UseServices(services =>
|
app.UseServices(services =>
|
||||||
{
|
{
|
||||||
services.Add(OptionsServices.GetDefaultServices());
|
|
||||||
// Add EF services to the services container
|
// Add EF services to the services container
|
||||||
services.AddEntityFramework()
|
services.AddEntityFramework()
|
||||||
.AddSqlServer();
|
.AddSqlServer();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue