Пример #1
0
        public async Task Test_Insert_PreciseInterFerenceVictim_Async()
        {
            var container = new PreciseInterferenceVictimsContainer
            {
                WorkItemNumber = "007",
                Items          = new List <PreciseInterferenceVictimDto>
                {
                    new PreciseInterferenceVictimDto
                    {
                        ENodebId          = 3,
                        SectorId          = 4,
                        BackwardDb10Share = 3.3,
                        BackwardDb6Share  = 3.4,
                        BackwardMod3Share = 4.3,
                        BackwardMod6Share = 4.4
                    }
                }
            };
            await _serivice.UpdateAsync(container);

            var item = _serivice.Query("007", 3, 4);

            item.ShouldNotBeNull();
        }
 public async Task Post(PreciseInterferenceVictimsContainer container)
 {
     await _service.UpdateAsync(container);
 }
 public async Task Post(PreciseInterferenceVictimsContainer container)
 {
     await _service.UpdateAsync(container);
 }
Пример #4
0
 public async Task Test_Insert_PreciseInterFerenceVictim_Async()
 {
     var container = new PreciseInterferenceVictimsContainer
     {
         WorkItemNumber = "007",
         Items = new List<PreciseInterferenceVictimDto>
         {
             new PreciseInterferenceVictimDto
             {
                 ENodebId = 3,
                 SectorId = 4,
                 BackwardDb10Share = 3.3,
                 BackwardDb6Share = 3.4,
                 BackwardMod3Share = 4.3,
                 BackwardMod6Share =4.4
             }
         }
     };
     await _serivice.UpdateAsync(container);
     var item = _serivice.Query("007", 3, 4);
     item.ShouldNotBeNull();
 }