Пример #1
0
        public async Task IndexHubAsync(string userId, string hubId, PerformContext context)
        {
            Credentials credentials = await Credentials.FromDatabaseAsync(userId);

            // ToDo: check if hub is already indexed

            await IndexProjectsAsync(credentials, hubId, context);

            await ModelDerivativeHub.NotifyHubComplete(_hubContext, hubId);
        }