Пример #1
0
        public AppLinkController()
        {
            // DI ready
            var serviceLocator = ServiceLocator.Current;

            _host           = serviceLocator.GetService <IApplicationHost>();
            _dbContext      = serviceLocator.GetService <IDbContext>();
            _localizer      = serviceLocator.GetService <ILocalizer>();
            _baseController = new A2v10.Request.BaseController();
        }