public async Task WhenAsync(DeleteUserClaimMvoDto c) { var idObj = UserClaimMvoProxyUtils.ToIdString((c as IDeleteUserClaimMvo).UserClaimId); var uriParameters = new UserClaimMvoUriParameters(); uriParameters.Id = idObj; var q = new UserClaimMvoDeleteQuery(); q.CommandId = c.CommandId; q.RequesterId = c.RequesterId; q.Version = Convert.ToString(c.Version); var req = new UserClaimMvoDeleteRequest(uriParameters); req.Query = q; var resp = await _ramlClient.UserClaimMvo.Delete(req); UserClaimMvoProxyUtils.ThrowOnHttpResponseError(resp); }
public void When(DeleteUserClaimMvoDto c) { WhenAsync(c).GetAwaiter().GetResult(); }