public static DeploymentDto ToDto(this Deployment_Latest.ReducedResult from, Environment environment)
        {
            var to = from.ConvertTo<DeploymentDto>();
            to.Environment = environment.ToDto();

            return to;
        }
        public static DeploymentDto ToDto(this Deployment from, Environment environment)
        {
            var to = from.ConvertTo<DeploymentDto>();
            to.Environment = environment.ToDto();
            to.Package = from.Package.ToDto();

            //var to = from.ConvertTo<MyDto>();
            //to.Items = from.Items.ConvertAll(x => x.ToDto());
            //to.CalculatedProperty = Calculate(from.Seed);
            return to;
        }