Exemple #1
0
        public async Task <MicrosoftSubscription> ResolvePurchase([FromQuery] string mktplaceToken)
        {
            var p = await service.ResolvePurchase(mktplaceToken);

            var subsription = await service.GetSubscription(p.SubscriptionId);

            return(subsription);
        }
 public void ResolveSubscription_MockApiTest()
 {
     Task.Run(async() =>
     {
         var result = await _fixture.ResolvePurchase("mock");
         Assert.NotNull(result);
     }).GetAwaiter().GetResult();
 }