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