protected async void Form0Submit(TblGnGender args) { try { var otErpCreateTblGnGenderResult = await OtErp.CreateTblGnGender(tblgngender); DialogService.Close(tblgngender); } catch (Exception otErpCreateTblGnGenderException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnGender!"); } }