Exemplo n.º 1
0
        public bool RemoveProduction(string deId)
        {
            if (!IsExits())
            {
                return(false);
            }
            var model = new DeploymentEnviromentModel()
            {
                Website = _website, EnviromentId = deId
            };

            if (_websiteRepository.RemoveProduction(model))
            {
                return(true);
            }
            return(false);
        }