protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblPoRecReport args) { try { var canErpDbAt132UpdateTblPoRecReportResult = await CanErpDbAt132.UpdateTblPoRecReport($"{RR_No}", tblporecreport); DialogService.Close(tblporecreport); } catch (Exception canErpDbAt132UpdateTblPoRecReportException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoRecReport"); } }
protected async void GridDeleteButtonClick(MouseEventArgs args, ErpCan.Models.CanErpDbAt132.TblPoRecReport data) { try { var canErpDbAt132DeleteTblPoRecReportResult = await CanErpDbAt132.DeleteTblPoRecReport($"{data.RR_No}"); if (canErpDbAt132DeleteTblPoRecReportResult != null) { grid0.Reload(); } } catch (Exception canErpDbAt132DeleteTblPoRecReportException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblPoRecReport"); } }
protected async void Grid0RowSelect(ErpCan.Models.CanErpDbAt132.TblPoRecReport args) { var result = await DialogService.OpenAsync <EditTblPoRecReport>("Edit Tbl Po Rec Report", new Dictionary <string, object>() { { "RR_No", args.RR_No } }); await InvokeAsync(() => { StateHasChanged(); }); }