@@ -61,8 +61,6 @@ internal SSLLService(string apiUrl, IApiProvider apiProvider)
61
61
public Info Info ( )
62
62
{
63
63
var infoModel = new Info ( ) ;
64
-
65
- // Building new request model
66
64
var requestModel = _requestModelFactory . NewInfoRequestModel ( ApiUrl , "info" ) ;
67
65
68
66
try
@@ -82,7 +80,6 @@ public Info Info()
82
80
infoModel . Errors . Add ( new Error { message = ex . ToString ( ) } ) ;
83
81
}
84
82
85
- // Checking if errors have occoured either from ethier api or wrapper
86
83
if ( infoModel . Errors . Count != 0 && ! infoModel . HasErrorOccurred ) { infoModel . HasErrorOccurred = true ; }
87
84
88
85
return infoModel ;
@@ -112,7 +109,6 @@ public Analyze Analyze(string host, Publish publish, ClearCache clearCache, From
112
109
113
110
try
114
111
{
115
- // Making Api request and binding result to model
116
112
var webResponse = _apiProvider . MakeGetRequest ( requestModel ) ;
117
113
analyzeModel = _responsePopulation . AnalyzeModel ( webResponse , analyzeModel ) ;
118
114
}
@@ -151,7 +147,6 @@ public Endpoint GetEndpointData(string host, string s, FromCache fromCache)
151
147
152
148
try
153
149
{
154
- // Making Api request and binding result to model
155
150
var webResponse = _apiProvider . MakeGetRequest ( requestModel ) ;
156
151
endpointModel = _responsePopulation . EndpointModel ( webResponse , endpointModel ) ;
157
152
}
@@ -174,7 +169,6 @@ public StatusCodes GetStatusCodes()
174
169
175
170
try
176
171
{
177
- // Making Api request and binding result to model
178
172
var webResponse = _apiProvider . MakeGetRequest ( requestModel ) ;
179
173
statusCodesModel = _responsePopulation . StatusCodesModel ( webResponse , statusCodesModel ) ;
180
174
}
0 commit comments