protected int SaveENodebs(List<ENodebExcel> infoList) { ParametersDumpInfrastructure infrastructure = new ParametersDumpInfrastructure(); SaveENodebListService service = new SaveENodebListService( eNodebRepository.Object, infrastructure, townRepository.Object); service.Save(infoList, true); return infrastructure.ENodebInserted; }
protected int SaveENodebs(bool update) { ParametersDumpInfrastructure infrastructure = new ParametersDumpInfrastructure(); SaveENodebListService service = new SaveENodebListService( lteRepository.Object, infrastructure, townRepository.Object); service.Save(eNodebInfos, update); return infrastructure.ENodebInserted; }