public YandexXMLController(IStringLocalizer <YandexXMLController> controllerLocalizer, IStringLocalizer <Module> moduleLocalizer, IServiceProvider provider, ISourceRepository repository, RuntimeTaskService taskManager, IProjectModuleRegistry modulRegistry, IConfiguration configuration, UserManager <IdentityUser> userManager, ILoggerFactory loggerFactory) { _provider = provider; _controllerLocalizer = controllerLocalizer; _modulelocalizer = moduleLocalizer; _loggerFactory = loggerFactory; _reposiotry = repository; _configuration = configuration; _userManager = userManager; _modulRegistry = modulRegistry; _runtimeQueue = taskManager; _logger = _loggerFactory.CreateLogger(AppLogger.UserCategory); _context = new RuntimeContext(_provider, _reposiotry, null, null, User.GetUserId()); }