Example #1
0
        protected async System.Threading.Tasks.Task GridDeleteButtonClick(MouseEventArgs args, dynamic data)
        {
            try
            {
                var dbAtVdc2DeleteTblGnAddressBookTypeResult = await DbAtVdc2.DeleteTblGnAddressBookType(data.AddressBookType_SEQ);

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