protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnPaymentType args) { try { var dbAtVdc2CreateTblGnPaymentTypeResult = await DbAtVdc2.CreateTblGnPaymentType(tblgnpaymenttype); DialogService.Close(tblgnpaymenttype); } catch (Exception dbAtVdc2CreateTblGnPaymentTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnPaymentType!"); } }