// NOTE: In order to notify "child" _*Service on UrlPrefix
        // change, make 2 things:
        // 1) Add IUpdatableUrlPrefix to its base interface, and
        // 2) Add 'if' below code for such service
        public void Refresh()
        {
            _applicationSettingService.Refresh();
            _applicationStorageService.Refresh();

            this.UpdateUrlPrefix(_fieldService);
        }
Beispiel #2
0
        // NOTE: In order to notify "child" _*Service on UrlPrefix
        // change, make 2 things:
        // 1) Add IUpdatableUrlPrefix to its base interface, and
        // 2) Add 'if' below code for such service
        public void Refresh()
        {
            _applicationSettingService.Refresh();
            _applicationStorageService.Refresh();

            this.UpdateUrlPrefix(_analyticsService);
            this.UpdateUrlPrefix(_customersService);
            this.UpdateUrlPrefix(_employeesService);
            this.UpdateUrlPrefix(_carriersService);
            this.UpdateUrlPrefix(_vehiclesService);
            this.UpdateUrlPrefix(_driversService);
            this.UpdateUrlPrefix(_ridesService);
        }