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(); }
internal async static Task <string> UpdateProductAsync(clsProducts prProducts) { return(await InsertOrUpdateAsync(prProducts, "http://localhost:60064/api/Product/PutProduct", "PUT")); }
public void SetDetails(clsProducts prProducts) { _Products = prProducts; updateForm(); ShowDialog(); }
internal async static Task <string> InsertProductAsync(clsProducts prProducts) { return(await InsertOrUpdateAsync(prProducts, "http://localhost:60000/api/gallery/PostProduct", "POST")); }