mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
fix feeds order
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user