public TranslationsController(AdminContext db, ISqlStringLocalizerFactory localizerFactory, ILogger <TranslationsController> logger,
                               IStringLocalizer <TranslationsController> localizer, IServiceProvider serviceProvider) : base(logger, localizer, serviceProvider)
 {
     _db = db;
     _localizerFactory = localizerFactory;
     _logger           = logger;
 }
Example #2
0
 public CheckGlobalVersionsFilter(ISqlStringLocalizerFactory factory, IGlobalSettingsCache globalSettings)
 {
     _factory        = factory;
     _globalSettings = globalSettings;
 }