Example #1
0
 // Subscription
 public override async Task <HttpResponseMessage> AddTopicSubscriptionsAsync(AddTopicSubscriptionsRequestModel requestModel) =>
 await Task.Run(() => new HttpResponseMessage { StatusCode = HttpStatusCode.OK });
Example #2
0
 // Topic Subscriptions
 public abstract Task <HttpResponseMessage> AddTopicSubscriptionsAsync(AddTopicSubscriptionsRequestModel requestModel);
 // Topic Subscriptions
 public override async Task <HttpResponseMessage> AddTopicSubscriptionsAsync(AddTopicSubscriptionsRequestModel requestModel)
 {
     return(await client.PostAsync("subscriptions.xml", SerializationUtils.ModelToStringContent(requestModel)));
 }