public virtual void AddSubscriptionKey(SubscriptionKeySet request) { try { LuisRepository.AddSubscriptionKey(request); } catch (Exception ex) { Logger.Error("LuisService.AddSubscriptionKey failed", this, ex); } }
public virtual void AddSubscriptionKey(SubscriptionKeySet request) { PolicyService.ExecuteRetryAndCapture400Errors( "LuisService.AddSubscriptionKey", ApiKeys.LuisRetryInSeconds, () => { LuisRepository.AddSubscriptionKey(request); return(true); }, false); }