Ejemplo n.º 1
0
        private async void UpdateStatusFlag()
        {
            try
            {
                await manager.UpdateStatusFlag(status.ID, flag);

                status.Flag = flag;
                Trace.WriteLine("Status flag changed to " + flag + " for " + status.ID);
            }
            catch (Exception ex)
            {
                flag = status.Flag;
                NotifyPropertyChanged("Note");
                uiService.ShowError(ex, "Failed to update experiment status flag");
            }
        }