public TOBController(IOptions <ApplConfig> _config, TOBHandler tobHandler, IHttpContextAccessor httpContextAccessor, GetLang _getLang) { appSettings = _config; _tobHandler = tobHandler; _httpContextAccessor = httpContextAccessor; getLang = _getLang; langcode = getLang.GetLanguage(); }