예제 #1
0
 public void SetDetails(clsPlace prPlace)
 {
     _Place = prPlace;
     txtPlaceName.Enabled = string.IsNullOrEmpty(_Place.PlaceName);
     UpdateForm();
     UpdateDisplay();
     // frmMain.Instance.ProductNameChanged += new frmMain.Notify(updateTitle);
     Show();
 }
예제 #2
0
 internal static async Task <string> UpdatePlaceAsync(clsPlace prPlace)
 {
     return(await InsertOrUpdateAsync(prPlace, "http://localhost:60064/api/product/PutPlace", "PUT"));
 }
예제 #3
0
 internal static async Task <string> InsertPlaceAsync(clsPlace prPlace)
 {
     //throw new NotImplementedException();
     return(await InsertOrUpdateAsync(prPlace, "http://localhost:60064/api/product/PostPlace", "POST"));
 }