예제 #1
0
 public virtual void PatchClosedListEntityModel(Guid appId, string versionId, Guid closedListEntityId, PatchClosedListEntityModelRequest request)
 {
     try {
         LuisRepository.PatchClosedListEntityModel(appId, versionId, closedListEntityId, request);
     } catch (Exception ex) {
         Logger.Error("LuisService.PatchClosedListEntityModel failed", this, ex);
     }
 }
 public virtual void PatchClosedListEntityModel(Guid appId, string versionId, Guid closedListEntityId, PatchClosedListEntityModelRequest request)
 {
     PolicyService.ExecuteRetryAndCapture400Errors(
         "LuisService.PatchClosedListEntityModel",
         ApiKeys.LuisRetryInSeconds,
         () =>
     {
         LuisRepository.PatchClosedListEntityModel(appId, versionId, closedListEntityId, request);
         return(true);
     },
         false);
 }