Exemplo n.º 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));
 }
Exemplo n.º 2
0
 public JsonResult Brands()
 {
     return(Json(carsApi.Brands(), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 3
0
 public void ReclamTest()
 {
     Assert.IsTrue(carsApi.Brands().Any());
 }