mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Damn son. So many changes... Fixed alot of stuff around tv episodes with the new DB model #865
This commit is contained in:
parent
1a7f81b16c
commit
0875b5f665
40 changed files with 340 additions and 874 deletions
|
@ -17,7 +17,6 @@ using Ombi.Core.Engine.Interfaces;
|
|||
using Ombi.Core.IdentityResolver;
|
||||
using Ombi.Core.Models.Requests;
|
||||
using Ombi.Core.Notifications;
|
||||
using Ombi.Core.Requests.Models;
|
||||
using Ombi.Core.Rule;
|
||||
using Ombi.Core.Settings;
|
||||
using Ombi.Notifications;
|
||||
|
@ -75,7 +74,6 @@ namespace Ombi.DependencyInjection
|
|||
services.AddEntityFrameworkSqlite().AddDbContext<OmbiContext>();
|
||||
|
||||
services.AddScoped<IOmbiContext, OmbiContext>();
|
||||
services.AddTransient<IRequestRepository, RequestJsonRepository>();
|
||||
services.AddTransient<ISettingsRepository, SettingsJsonRepository>();
|
||||
services.AddTransient<IUserRepository, UserRepository>();
|
||||
services.AddTransient<ISettingsResolver, SettingsResolver>();
|
||||
|
@ -89,7 +87,6 @@ namespace Ombi.DependencyInjection
|
|||
public static void RegisterServices(this IServiceCollection services)
|
||||
{
|
||||
services.AddTransient<IRequestServiceMain, RequestService>();
|
||||
services.AddTransient(typeof(IRequestService<>), typeof(JsonRequestService<>));
|
||||
services.AddSingleton<INotificationService, NotificationService>();
|
||||
services.AddTransient<INotificationHelper, NotificationHelper>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue