Exemple #1
0
 private void RefreshMenuItem_OnClick(object sender, RoutedEventArgs e)
 {
     foreach (var selling in EyedModels.Items)
     {
         var sell = (ModelDetails)selling;
         carsApi.MergeTo(sell);
         EyedModelsInitListBox(sell);
         EyedModels.Items.Refresh();
     }
     MessageBox.Show("Подгрузка закончилась");
 }
Exemple #2
0
 public JsonResult MergeTo(ModelDetails sell)
 {
     return(Json(carsApi.MergeTo(sell), JsonRequestBehavior.AllowGet));
 }