protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcWarehouse args) { try { var dbAtVdc2CreateTblIcWarehouseResult = await DbAtVdc2.CreateTblIcWarehouse(tblicwarehouse); DialogService.Close(tblicwarehouse); } catch (Exception dbAtVdc2CreateTblIcWarehouseException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcWarehouse!"); } }