Exemplo n.º 1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcInventory args)
        {
            try
            {
                var dbAtVdc2CreateTblIcInventoryResult = await DbAtVdc2.CreateTblIcInventory(tblicinventory);

                DialogService.Close(tblicinventory);
            }
            catch (Exception dbAtVdc2CreateTblIcInventoryException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcInventory!");
            }
        }