Exemple #1
0
 public void LoadBrandData(object obj)
 {
     brands = carsApi.Brands();
     CompleteLabel.Dispatcher.BeginInvoke(new Action(LoadStarted));
     BrandComboBox.Dispatcher.BeginInvoke(new Action(IntializeBrandComboBox));
     CompleteLabel.Dispatcher.BeginInvoke(new Action(LoadComplited));
 }
Exemple #2
0
 public JsonResult Brands()
 {
     return(Json(carsApi.Brands(), JsonRequestBehavior.AllowGet));
 }
Exemple #3
0
 public void ReclamTest()
 {
     Assert.IsTrue(carsApi.Brands().Any());
 }