/// <summary> /// 删除匹配 /// </summary> /// <param name="req"><see cref="DeleteMatchRequest"/></param> /// <returns><see cref="DeleteMatchResponse"/></returns> public DeleteMatchResponse DeleteMatchSync(DeleteMatchRequest req) { JsonResponseModel <DeleteMatchResponse> rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteMatch"); rsp = JsonConvert.DeserializeObject <JsonResponseModel <DeleteMatchResponse> >(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return(rsp.Response); }
public async Task Delete([FromUri] DeleteMatchRequest request) { await _mediator.ExecuteAsync(request).ConfigureAwait(false); }
public DeleteMatchCommand(DeleteMatchRequest deleteMatchRequest) { this.DeleteMatchRequest = deleteMatchRequest; }