protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnDepartment args) { try { var dbAtVdc2CreateTblGnDepartmentResult = await DbAtVdc2.CreateTblGnDepartment(tblgndepartment); DialogService.Close(tblgndepartment); } catch (Exception dbAtVdc2CreateTblGnDepartmentException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnDepartment!"); } }