Ejemplo n.º 1
0
 private void CreateShopIfNotExists()
 {
     if (shopService.CreateNewShopIfNotExists(cb_shop.Text.ToUpper()) > 0)
     {
         string SelectedShop = cb_shop.Text.ToUpper();
         cb_shop.DataContext = shopService.GetShopsCollection();
         cb_shop.Text        = SelectedShop;
     }
 }