Ejemplo n.º 1
0
 public void ShowDialog(clsBrand prBrand)
 {
     _brand             = prBrand;
     lstBags.DataSource = null;
     textBox1.Enabled   = true;
     if (!string.IsNullOrEmpty(_brand.brand_name))
     {
         textBox1.Enabled = false;
         UpdateDisplay();
     }
     textBox1.Text = _brand.brand_name;
     textBox2.Text = _brand.brand_description;
     _Instance.Show();
 }
Ejemplo n.º 2
0
 internal async static Task <string> UpdateBrandAsync(clsBrand prBrand)
 {
     return(await InsertOrUpdateAsync(prBrand, "http://localhost:60064/api/Bag/PutBrand", "PUT"));
 }