protected async override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); try { string lcCategoryName = e.Parameter.ToString(); _Category = await Customer.ServiceClient.GetCategoryAsync(lcCategoryName); UpdateDisplay(); } catch (Exception) { } }
internal static async Task <string> UpdateCategoryAsync(clsCategory prCategory) { return(await InsertOrUpdateAsync(prCategory, "http://localhost:60065/api/shop/PutCategory", "PUT")); }