public void UploadFeedback(FeedbackDTO feedback) { if (_queueReportsAccessor()) { _feedbackQueue.Enqueue(feedback); } else { UploadFeedbackNow(feedback); } }
public void UploadReport(ErrorReportDTO report) { if (_queueReportsAccessor()) { _reportQueue.Enqueue(report); } else { UploadReportNow(report); } }