protected async void Form0Submit(TblSoSalesOrder args) { try { var otErpCreateTblSoSalesOrderResult = await OtErp.CreateTblSoSalesOrder(tblsosalesorder); DialogService.Close(tblsosalesorder); } catch (Exception otErpCreateTblSoSalesOrderException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSoSalesOrder!"); } }