Пример #1
0
 public void SetDetails(clsProducts prProducts)
 {
     _Products             = prProducts;
     tbProductName.Enabled = string.IsNullOrEmpty(_Products.Name);
     updateForm();
     frmMain.Instance.ProductNameChanged += new frmMain.Notify(updateTitle);
     //updateTitle(_Artist.ArtistList.GalleryName);
     Show();
 }
Пример #2
0
 internal async static Task <string> UpdateProductAsync(clsProducts prProducts)
 {
     return(await InsertOrUpdateAsync(prProducts, "http://localhost:60064/api/Product/PutProduct", "PUT"));
 }
Пример #3
0
 public void SetDetails(clsProducts prProducts)
 {
     _Products = prProducts;
     updateForm();
     ShowDialog();
 }
Пример #4
0
 internal async static Task <string> InsertProductAsync(clsProducts prProducts)
 {
     return(await InsertOrUpdateAsync(prProducts, "http://localhost:60000/api/gallery/PostProduct", "POST"));
 }