public async Task <IActionResult> GetProjectFeatureServicePipelineById(Guid organizationId, Guid projectId, Guid featureId, Guid serviceId)
        {
            var featureServicePipeline = await _projectFeatureServiceQueryService.GetProjectFeatureServicePipelineById(organizationId, projectId, featureId, serviceId);

            if (_domainManagerService.HasNotFounds())
            {
                return(this.NotFound(_domainManagerService.GetNotFounds()));
            }

            return(this.Ok(featureServicePipeline));
        }
        public async Task <IActionResult> GetFeatureServiceById(Guid organizationId, Guid projectId, Guid featureId, Guid serviceId)
        {
            var organization = await _organizationQueryService.GetOrganizationById(organizationId);

            if (organization == null)
            {
                return(this.NotFound());
            }

            var project = await _projectQueryService.GetProjectById(organizationId, projectId);

            if (project == null)
            {
                return(this.NotFound());
            }

            var feature = await _projectFeatureQueryService.GetProjectFeatureById(organizationId, projectId, featureId);

            if (feature == null)
            {
                return(this.NotFound());
            }

            var service = await _projectServiceQueryService.GetProjectServiceById(organizationId, projectId, serviceId);

            if (service == null)
            {
                return(this.NotFound());
            }


            var activities = await _projectFeatureServiceActivityQueryService.GetProjectFeatureServiceActivities(organizationId, projectId, featureId, serviceId);

            var events = await _projectFeatureServiceEventQueryService.GetProjectFeatureServiceEvents(organizationId, projectId, featureId, serviceId, BaseEventType.None);

            var builds = await _projectFeatureServiceEventQueryService.GetProjectFeatureServiceEvents(organizationId, projectId, featureId, serviceId, BaseEventType.Build);

            var releases = await _projectFeatureServiceEventQueryService.GetProjectFeatureServiceEvents(organizationId, projectId, featureId, serviceId, BaseEventType.Release);

            var environments = await _projectFeatureServiceEnvironmentQueryService.GetFeatureProjectServiceEnvironments(organizationId, projectId, featureId, serviceId);

            var pipeline = await _projectFeatureServiceQueryService.GetProjectFeatureServicePipelineById(organizationId, projectId, featureId, serviceId);

            var serviceProvider = await _projectFeatureServiceQueryService.GetProjectFeatureServiceExternalById(organizationId, projectId, featureId, serviceId);

            var model = new
            {
                organization    = organization,
                project         = project,
                service         = service,
                feature         = feature,
                activities      = activities,
                events          = events,
                builds          = builds,
                releases        = releases,
                environments    = environments,
                pipeline        = pipeline,
                serviceProvider = serviceProvider
            };

            return(this.Ok(model));
        }