Пример #1
0
 public void VanishCells(CellIdsContainer container)
 {
     foreach (
         var cell in
         container.CellIdPairs.Select(
             cellIdPair => _cellRepository.GetBySectorId(cellIdPair.CellId, cellIdPair.SectorId))
         .Where(cell => cell != null))
     {
         cell.IsInUse = false;
         _cellRepository.Update(cell);
     }
     _cellRepository.SaveChanges();
 }
 public void Put(CellIdsContainer container)
 {
     _service.VanishCells(container);
 }
Пример #3
0
 public void Put(CellIdsContainer container)
 {
     _service.VanishCells(container);
 }