Esempio n. 1
0
 public static Task <ApiResponse <MarketPrices> > GetPricingAsync(IPublicPricingProvider provider, PublicPricesContext context)
 {
     return(ApiHelpers.WrapExceptionAsync(() => provider.GetPricingAsync(context), nameof(GetPricing), provider, context));
 }
Esempio n. 2
0
 public static ApiResponse <MarketPrices> GetPricing(IPublicPricingProvider provider, PublicPricesContext context)
 {
     return(AsyncContext.Run(() => GetPricingAsync(provider, context)));
 }