fix feeds order

This commit is contained in:
chsakell
2016-10-05 16:19:02 +03:00
parent 0d8e383a22
commit 09ef60ddf4
3 changed files with 5 additions and 4 deletions

View File

@@ -37,8 +37,8 @@ namespace LiveGameFeed
{
services.AddDbContext<LiveGameContext>(options => options.UseInMemoryDatabase());
// Repositories
services.AddSingleton<IMatchRepository, MatchRepository>();
services.AddSingleton<IFeedRepository, FeedRepository>();
services.AddScoped<IMatchRepository, MatchRepository>();
services.AddScoped<IFeedRepository, FeedRepository>();
// Automapper Configuration
AutoMapperConfiguration.Configure();