public Task ReportNetworkStatus(NetworkControllerOperation operation, NetworkControllerStatus networkControllerStatus, NetworkControllerType networkControllerType, bool success = true)
        {
            var networkController = new NetworkControllerResult()
            {
                Operation = operation.ToString(), OperationStatus = success ? "Success" : "Failed", NetworkControllerType = networkControllerType, NetworkControllerStatus = networkControllerStatus, TrackingId = this.trackingId
            };

            return(ModuleUtil.ReportStatus(this.trcClient, Log, this.moduleId, networkController.ToString(), TestOperationResultType.Network.ToString()));
        }
        public Task ReportNetworkStatusAsync(NetworkControllerOperation operation, NetworkControllerStatus networkControllerStatus, NetworkControllerType networkControllerType, bool success = true)
        {
            var testResult = new NetworkControllerTestResult(this.moduleId, DateTime.UtcNow)
            {
                Operation               = operation.ToString(),
                OperationStatus         = success ? "Success" : "Failed",
                NetworkControllerType   = networkControllerType,
                NetworkControllerStatus = networkControllerStatus,
                TrackingId              = this.trackingId
            };

            return(ModuleUtil.ReportTestResultAsync(this.testResultReportingClient, Log, testResult));
        }