public async Task <bool> DumpOneStat()
        {
            var stat = InterferenceMatrixStats.Pop();

            if (stat == null)
            {
                return(false);
            }
            var cellId = stat.ENodebId + "-" + stat.SectorId;
            var item   =
                _repository.FirstOrDefault(
                    x => x.CellId == cellId && x.NeighborPci == stat.NeighborPci && x.StatDate == stat.StatDate);

            if (item == null)
            {
                await _repository.InsertAsync(stat);
            }
            _repository.SaveChanges();
            return(true);
        }
        public async Task <bool> DumpOneStat()
        {
            var stat = InterferenceMatrixStats.Pop();

            if (stat == null)
            {
                return(false);
            }
            var item =
                _repository.FirstOrDefault(
                    x =>
                    x.ENodebId == stat.ENodebId && x.SectorId == stat.SectorId && x.DestPci == stat.DestPci && x.RecordTime == stat.RecordTime);

            if (item == null)
            {
                await _repository.InsertAsync(stat);
            }
            _repository.SaveChanges();
            return(true);
        }