public Task <MsgSubscribeToThingsResponse> SubscribeToThingsAsync(IEnumerable <TheThingSubscription> thingSubscriptionRequests) { var subscribeThingsRequest = new MsgSubscribeToThings { SubscriptionRequests = thingSubscriptionRequests.ToList(), }; return(SubscribeToThingsAsync(subscribeThingsRequest)); }
public Task <MsgSubscribeToThingsResponse> SubscribeToThingsAsync(MsgSubscribeToThings subscribeThingsRequest) { return(TheCommRequestResponse.PublishRequestJSonAsync <MsgSubscribeToThings, MsgSubscribeToThingsResponse>(this, subscribeThingsRequest)); }