public ProjectFeature CreateProjectFeature(Guid organizationId, Guid projectId, string name, string description)
        {
            Organization organization = FindOrganizationById(organizationId);

            if (organization == null)
            {
                throw new ApplicationException($"The organization with id {organizationId} does not exists");
            }

            Project project = organization.GetProjectById(projectId);

            if (project == null)
            {
                throw new ApplicationException($"The project with id {projectId} does not exists");
            }

            var newFeature = ProjectFeature.Factory.Create(name, description, this.Id);

            ProjectFeatureEnvironment developmentProjectEnvironment = ProjectFeatureEnvironment.Factory.Create(DomainConstants.Environments.Development, "Environment for development and some tests", EnvironmentType.Root, false, 1, this.Id);

            developmentProjectEnvironment.Activate();

            newFeature.AddEnvironment(developmentProjectEnvironment);

            project.AddFeature(newFeature);

            return(newFeature);
        }