public async Task <InternalModels.Dialog> GetResponseAsync(InternalModels.Request request)
        {
            var dialog = await _sessionsClientBalancer.Invoke(request.SessionId,
                                                              (sessionClient, context) => GetResponseInternalAsync(request, sessionClient, context), request.ScopeKey);

            return(dialog);
        }
 public Task DeleteAllContextsAsync(InternalModels.Request request)
 {
     return(_contextsClientBalancer.Invoke(request.SessionId,
                                           (client, context) => DeleteAllContextsInternalAsync(request.SessionId, context.Parameters["ProjectId"], client),
                                           request.ScopeKey));
 }