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(); }
private IEnumerable <CdmaLteIds> ExtractCdmaLteIds(IEnumerable <CellExcel> cellExcelList) { CdmaLteIdsService service = new CdmaLteIdsService(cellExcelList); return(service.Query()); }