Exemplo n.º 1
0
        protected async void Load()
        {
            canEdit = true;

            var canErpDbAt132GetTblIcClassificationByClassifiIdResult = await CanErpDbAt132.GetTblIcClassificationByClassifiId($"{Classifi_ID}");

            tblicclassification = canErpDbAt132GetTblIcClassificationByClassifiIdResult;
        }
Exemplo n.º 2
0
        protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblIcClassification args)
        {
            try
            {
                var canErpDbAt132UpdateTblIcClassificationResult = await CanErpDbAt132.UpdateTblIcClassification($"{Classifi_ID}", tblicclassification);

                DialogService.Close(tblicclassification);
            }
            catch (Exception canErpDbAt132UpdateTblIcClassificationException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblIcClassification");
            }
        }
Exemplo n.º 3
0
        protected async void GridDeleteButtonClick(MouseEventArgs args, ErpCan.Models.CanErpDbAt132.TblIcClassification data)
        {
            try
            {
                var canErpDbAt132DeleteTblIcClassificationResult = await CanErpDbAt132.DeleteTblIcClassification($"{data.Classifi_ID}");

                if (canErpDbAt132DeleteTblIcClassificationResult != null)
                {
                    grid0.Reload();
                }
            }
            catch (Exception canErpDbAt132DeleteTblIcClassificationException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblIcClassification");
            }
        }
Exemplo n.º 4
0
        protected async void Grid0RowSelect(ErpCan.Models.CanErpDbAt132.TblIcClassification args)
        {
            var result = await DialogService.OpenAsync <EditTblIcClassification>("Edit Tbl Ic Classification", new Dictionary <string, object>() { { "Classifi_ID", args.Classifi_ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
 protected async void Load()
 {
     tblicclassification = new ErpCan.Models.CanErpDbAt132.TblIcClassification();
 }