@@ -119,41 +119,41 @@ private IDeleteResponse _deleteToPath(string path)
119119 {
120120 path . ThrowIfNull ( "path" ) ;
121121 var status = this . Connection . DeleteSync ( path ) ;
122- return this . ToParsedResponse < DeleteResponse > ( status ) ;
122+ return this . Deserialize < DeleteResponse > ( status ) ;
123123 }
124124
125125 private IDeleteResponse _deleteToPath ( string path , string data )
126126 {
127127 path . ThrowIfNull ( "path" ) ;
128128 var status = this . Connection . DeleteSync ( path , data ) ;
129- return this . ToParsedResponse < DeleteResponse > ( status ) ;
129+ return this . Deserialize < DeleteResponse > ( status ) ;
130130 }
131131
132132 private IBulkResponse _deleteToBulkPath ( string path , string data )
133133 {
134134 path . ThrowIfNull ( "path" ) ;
135135 var status = this . Connection . PostSync ( path , data ) ;
136- return this . ToParsedResponse < BulkResponse > ( status ) ;
136+ return this . Deserialize < BulkResponse > ( status ) ;
137137 }
138138
139139 private Task < IDeleteResponse > _deleteToPathAsync ( string path )
140140 {
141141 path . ThrowIfNull ( "path" ) ;
142142 var task = this . Connection . Delete ( path ) ;
143- return task . ContinueWith < IDeleteResponse > ( t => this . ToParsedResponse < DeleteResponse > ( t . Result ) ) ;
143+ return task . ContinueWith < IDeleteResponse > ( t => this . Deserialize < DeleteResponse > ( t . Result ) ) ;
144144 }
145145
146146 private Task < IDeleteResponse > _deleteToPathAsync ( string path , string data )
147147 {
148148 path . ThrowIfNull ( "path" ) ;
149149 var task = this . Connection . Delete ( path , data ) ;
150- return task . ContinueWith < IDeleteResponse > ( t => this . ToParsedResponse < DeleteResponse > ( t . Result ) ) ;
150+ return task . ContinueWith < IDeleteResponse > ( t => this . Deserialize < DeleteResponse > ( t . Result ) ) ;
151151 }
152152 private Task < IBulkResponse > _deleteToBulkPathAsync ( string path , string data )
153153 {
154154 path . ThrowIfNull ( "path" ) ;
155155 var task = this . Connection . Post ( path , data ) ;
156- return task . ContinueWith < IBulkResponse > ( t => this . ToParsedResponse < BulkResponse > ( t . Result ) ) ;
156+ return task . ContinueWith < IBulkResponse > ( t => this . Deserialize < BulkResponse > ( t . Result ) ) ;
157157 }
158158 }
159159}
0 commit comments