Esempio n. 1
0
        protected async System.Threading.Tasks.Task GridDeleteButtonClick(MouseEventArgs args, dynamic data)
        {
            try
            {
                var c4GDeleteAtribuicaoResult = await C4G.DeleteAtribuicao(data.id_atribuicao);

                if (c4GDeleteAtribuicaoResult != null)
                {
                    grid0.Reload();
                }
            }
            catch (Exception c4GDeleteAtribuicaoException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete Atribuicao");
            }
        }