Baconography.NeutralServices.OfflineDelayableRedditService.AddReportOnThing C# (CSharp) Method

AddReportOnThing() public method

public AddReportOnThing ( string thingId ) : System.Threading.Tasks.Task
thingId string
return System.Threading.Tasks.Task
        public override async Task AddReportOnThing(string thingId)
        {
            try
            {
                if (_settingsService.IsOnline() && (await _userService.GetUser()).Username != null)
                    await base.AddReportOnThing(thingId);
                else
                    await _offlineService.EnqueueAction("AddReportOnThing", new Dictionary<string, string> { { "thingId", thingId } });
            }
            catch (TaskCanceledException)
            {
                throw;
            }
            catch (Exception ex)
            {
                _notificationService.CreateErrorNotification(ex);
                _offlineService.EnqueueAction("AddReportOnThing", new Dictionary<string, string> { { "thingId", thingId } }).Start();
            }
        }