protected int[] SaveCellInfos(IEnumerable <CellExcel> cellInfos)
        {
            ParametersDumpInfrastructure infrastructure = new ParametersDumpInfrastructure();
            SaveCellInfoListService      service        = new UpdateConsideredSaveCellInfoListService(
                repository.Object, eNodebRepository.Object, true);

            service.Save(cellInfos, infrastructure);
            return(new[] { infrastructure.CellsInserted, infrastructure.CellsUpdated });
        }
        public void InvokeAction(IExcelCellImportRepository <CellExcel> importRepository)
        {
            if (!ImportCell || importRepository.CellExcelList.Count <= 0)
            {
                return;
            }
            SaveCellInfoListService lteService = new UpdateConsideredSaveCellInfoListService(
                cellRepository, eNodebRepository, UpdateCell, UpdatePci);

            lteService.Save(importRepository.CellExcelList.Distinct(new CellExcelComparer()), infrastructure);

            CdmaLteIdsService        idService = new CdmaLteIdsService(importRepository.CellExcelList);
            IEnumerable <CdmaLteIds> ids       = idService.Query();
            UpdateCdmaLteIdService   service   = new UpdateCdmaLteIdService(btsRepository, cdmaCellRepository, ids);

            service.Update();
        }