Exemplo n.º 1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpXiNghiep args)
        {
            try
            {
                var dbAtVdc2CreateTblHpXiNghiepResult = await DbAtVdc2.CreateTblHpXiNghiep(tblhpxinghiep);

                DialogService.Close(tblhpxinghiep);
            }
            catch (Exception dbAtVdc2CreateTblHpXiNghiepException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpXiNghiep!");
            }
        }