protected async System.Threading.Tasks.Task Form0Submit(InsertStoredProcDemo.Models.ConData.Market args) { try { var conDataUpdateMarketResult = await ConData.UpdateMarket(MarketListID, market); DialogService.Close(market); } catch (System.Exception conDataUpdateMarketException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Market"); } }
protected async System.Threading.Tasks.Task Load() { market = new InsertStoredProcDemo.Models.ConData.Market() { }; }
protected async System.Threading.Tasks.Task Grid0RowSelect(InsertStoredProcDemo.Models.ConData.Market args) { var dialogResult = await DialogService.OpenAsync <EditMarket>("Edit Market", new Dictionary <string, object>() { { "MarketListID", args.MarketListID } }); await InvokeAsync(() => { StateHasChanged(); }); }
protected async System.Threading.Tasks.Task Load() { var conDataGetMarketByMarketListIdResult = await ConData.GetMarketByMarketListId(MarketListID); market = conDataGetMarketByMarketListIdResult; }