public void InvokeAction(IExcelCellImportRepository <CdmaCellExcel> importRepository) { if (ImportCell && importRepository.CellExcelList.Count > 0) { SaveCdmaCellInfoListService service = new UpdateConsideredSaveCdmaCellInfoListService(cdmaCellRepository, importRepository.CellExcelList, btsRepository, UpdateCell); service.Save(infrastructure); } }
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(); }