Пример #1
0
        private void MigrateRouteStadeOrders()
        {
            var isAnyDicRouteStadeOrders = _newNiisDictionaryService.IsAnyRouteStateOrders();

            if (isAnyDicRouteStadeOrders == false)
            {
                var roteStageOrders = _oldNiisDictionaryService.GetRouteStageOrders();
                ActionTransaction(() => _newNiisDictionaryService.CreateRangeRouteStageOrders(roteStageOrders));
            }
        }