protected async void Form0Submit(TblGnPaymentType args) { try { var otErpCreateTblGnPaymentTypeResult = await OtErp.CreateTblGnPaymentType(tblgnpaymenttype); DialogService.Close(tblgnpaymenttype); } catch (Exception otErpCreateTblGnPaymentTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnPaymentType!"); } }