Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcCategory args)
        {
            try
            {
                var dbAtVdc2CreateTblIcCategoryResult = await DbAtVdc2.CreateTblIcCategory(tbliccategory);

                DialogService.Close(tbliccategory);
            }
            catch (Exception dbAtVdc2CreateTblIcCategoryException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcCategory!");
            }
        }