public async Task Handle(ProjectServiceTemplateCreatedEvent @event)
        {
            CreateOrganizationRepositoryOptions createOrganizationRepositoryOptions = new CreateOrganizationRepositoryOptions();

            createOrganizationRepositoryOptions.VSTSAccessId              = _vstsOptions.Value.AccessId;
            createOrganizationRepositoryOptions.VSTSAccessSecret          = _vstsOptions.Value.AccessSecret;
            createOrganizationRepositoryOptions.VSTSRepositoryTemplateUrl = @event.SourceTemplateUrl;

            createOrganizationRepositoryOptions.TemplateAccess         = @event.TemplateAccess;
            createOrganizationRepositoryOptions.NeedCredentials        = @event.NeedCredentials;
            createOrganizationRepositoryOptions.RepositoryCMSType      = @event.RepositoryCMSType;
            createOrganizationRepositoryOptions.RepositoryAccessId     = @event.RepositoryAccessId;
            createOrganizationRepositoryOptions.RepositoryAccessSecret = @event.RepositoryAccessSecret;
            createOrganizationRepositoryOptions.RepositoryAccessToken  = @event.RepositoryAccessToken;
            createOrganizationRepositoryOptions.RepositoryUrl          = @event.RepositoryUrl;
            createOrganizationRepositoryOptions.Branch = @"refs/heads/master";

            await _pipelineSpaceManagerService.CreateOrganizationRepository(createOrganizationRepositoryOptions);

            var oAuthToken = _httpClientWrapperService.GetTokenFromClientCredentials($"{_applicationOptions.Value.Url}/connect/token", _applicationOptions.Value.ClientId, _applicationOptions.Value.ClientSecret, _applicationOptions.Value.Scope).GetAwaiter().GetResult();

            var InternalAuthCredentials = new HttpClientWrapperAuthorizationModel();

            InternalAuthCredentials.Schema = "Bearer";
            InternalAuthCredentials.Value  = oAuthToken.access_token;

            string projectActivateUrl      = $"{_applicationOptions.Value.Url}/internalapi/organizations/{@event.OrganizationId}/servicetemplates/{@event.ProjectServiceTemplateId}/activate";
            var    projectActivateResponse = await _httpClientWrapperService.PatchAsync(projectActivateUrl, new { }, InternalAuthCredentials);

            projectActivateResponse.EnsureSuccessStatusCode();
        }