protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblSoOrderDetailStatusBySoDetailStatusSeqResult = await DbAtVdc2.GetTblSoOrderDetailStatusBySoDetailStatusSeq(int.Parse($"{SODetailStatus_SEQ}")); tblsoorderdetailstatus = dbAtVdc2GetTblSoOrderDetailStatusBySoDetailStatusSeqResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblSoOrderDetailStatus args) { try { var dbAtVdc2UpdateTblSoOrderDetailStatusResult = await DbAtVdc2.UpdateTblSoOrderDetailStatus(int.Parse($"{SODetailStatus_SEQ}"), tblsoorderdetailstatus); DialogService.Close(tblsoorderdetailstatus); } catch (Exception dbAtVdc2UpdateTblSoOrderDetailStatusException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoOrderDetailStatus"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblSoOrderDetailStatus args) { var result = await DialogService.OpenAsync <EditTblSoOrderDetailStatus>("Edit Tbl So Order Detail Status", new Dictionary <string, object>() { { "SODetailStatus_SEQ", args.SODetailStatus_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }
protected async System.Threading.Tasks.Task Load() { tblsoorderdetailstatus = new CanErp2.Models.DbAtVdc2.TblSoOrderDetailStatus(); }