예제 #1
0
        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)
            {
            }
        }
예제 #2
0
 internal static async Task <string> UpdateCategoryAsync(clsCategory prCategory)
 {
     return(await InsertOrUpdateAsync(prCategory, "http://localhost:60065/api/shop/PutCategory", "PUT"));
 }