public IEnumerable <int> GetVanishedENodebIds() { if (!ENodebExcels.Any()) { return(new List <int>()); } return(from eNodeb in _eNodebRepository.GetAllInUseList() join info in ENodebExcels on eNodeb.ENodebId equals info.ENodebId into eNodebQuery from eq in eNodebQuery.DefaultIfEmpty() where eq == null select eNodeb.ENodebId); }
public IEnumerable <ENodebExcel> GetNewENodebExcels() { if (!ENodebExcels.Any()) { return(new List <ENodebExcel>()); } return(from info in ENodebExcels join eNodeb in _eNodebRepository.GetAllInUseList() on info.ENodebId equals eNodeb.ENodebId into eNodebQuery from eq in eNodebQuery.DefaultIfEmpty() where eq == null select info); }