Made a generic repository to use !minor

This commit is contained in:
Jamie.Rees 2017-10-17 15:03:00 +01:00
commit 894945f652
8 changed files with 99 additions and 149 deletions

View file

@ -115,6 +115,7 @@ namespace Ombi.DependencyInjection
services.AddTransient<IApplicationConfigRepository, ApplicationConfigRepository>();
services.AddTransient<ITokenRepository, TokenRepository>();
services.AddTransient(typeof(ISettingsService<>), typeof(SettingsService<>));
services.AddTransient(typeof(IRepository<>), typeof(Repository<>));
}
public static void RegisterServices(this IServiceCollection services)
{