protected async void Form0Submit(TblGnPaymentTerm args) { try { var otErpCreateTblGnPaymentTermResult = await OtErp.CreateTblGnPaymentTerm(tblgnpaymentterm); DialogService.Close(tblgnpaymentterm); } catch (Exception otErpCreateTblGnPaymentTermException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnPaymentTerm!"); } }