Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpBac args)
        {
            try
            {
                var dbAtVdc2CreateTblHpBacResult = await DbAtVdc2.CreateTblHpBac(tblhpbac);

                DialogService.Close(tblhpbac);
            }
            catch (Exception dbAtVdc2CreateTblHpBacException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpBac!");
            }
        }