Example #1
0
 public IdentityController(OmbiUserManager user,
                           RoleManager <IdentityRole> rm,
                           IEmailProvider prov,
                           ISettingsService <EmailNotificationSettings> s,
                           ISettingsService <CustomizationSettings> c,
                           ISettingsService <OmbiSettings> ombiSettings,
                           IWelcomeEmail welcome,
                           ILogger <IdentityController> l,
                           IPlexApi plexApi,
                           ISettingsService <PlexSettings> settings,
                           ISettingsService <UserManagementSettings> umSettings,
                           IRepository <UserNotificationPreferences> notificationPreferences,
                           IRepository <UserQualityProfiles> userProfiles,
                           IUserDeletionEngine deletionEngine,
                           IRequestLimitService requestLimitService,
                           ICacheService cacheService)
 {
     UserManager           = user;
     RoleManager           = rm;
     EmailProvider         = prov;
     EmailSettings         = s;
     CustomizationSettings = c;
     WelcomeEmail          = welcome;
     _log                         = l;
     _plexApi                     = plexApi;
     _plexSettings                = settings;
     OmbiSettings                 = ombiSettings;
     _userManagementSettings      = umSettings;
     _userNotificationPreferences = notificationPreferences;
     _userQualityProfiles         = userProfiles;
     _deletionEngine              = deletionEngine;
     _requestLimitService         = requestLimitService;
     _cacheService                = cacheService;
 }
Example #2
0
 public IdentityController(OmbiUserManager user, IMapper mapper, RoleManager <IdentityRole> rm, IEmailProvider prov,
                           ISettingsService <EmailNotificationSettings> s,
                           ISettingsService <CustomizationSettings> c,
                           ISettingsService <OmbiSettings> ombiSettings,
                           IWelcomeEmail welcome,
                           IMovieRequestRepository m,
                           ITvRequestRepository t,
                           ILogger <IdentityController> l,
                           IPlexApi plexApi,
                           ISettingsService <PlexSettings> settings,
                           IRepository <RequestLog> requestLog,
                           IRepository <Issues> issues,
                           IRepository <IssueComments> issueComments,
                           IRepository <NotificationUserId> notificationRepository,
                           IRepository <RequestSubscription> subscriptionRepository,
                           ISettingsService <UserManagementSettings> umSettings,
                           IRepository <UserNotificationPreferences> notificationPreferences,
                           IRepository <UserQualityProfiles> userProfiles,
                           IMusicRequestRepository musicRepo,
                           IMovieRequestEngine movieRequestEngine,
                           ITvRequestEngine tvRequestEngine,
                           IMusicRequestEngine musicEngine,
                           IUserDeletionEngine deletionEngine,
                           IRequestLimitService requestLimitService,
                           ICacheService cacheService)
 {
     UserManager           = user;
     Mapper                = mapper;
     RoleManager           = rm;
     EmailProvider         = prov;
     EmailSettings         = s;
     CustomizationSettings = c;
     WelcomeEmail          = welcome;
     MovieRepo             = m;
     MusicRepo             = musicRepo;
     TvRepo                = t;
     _log                           = l;
     _plexApi                       = plexApi;
     _plexSettings                  = settings;
     _issuesRepository              = issues;
     _requestLogRepository          = requestLog;
     _issueCommentsRepository       = issueComments;
     OmbiSettings                   = ombiSettings;
     _requestSubscriptionRepository = subscriptionRepository;
     _notificationRepository        = notificationRepository;
     _userManagementSettings        = umSettings;
     TvRequestEngine                = tvRequestEngine;
     MovieRequestEngine             = movieRequestEngine;
     _userNotificationPreferences   = notificationPreferences;
     _userQualityProfiles           = userProfiles;
     MusicRequestEngine             = musicEngine;
     _deletionEngine                = deletionEngine;
     _requestLimitService           = requestLimitService;
     _cacheService                  = cacheService;
 }