public bool AddStagging(UpdateDeploymentEnvironmentToWebsite dto) { if (!IsExits()) { return(false); } var model = new DeploymentEnviromentModel() { Website = _website }; if (_websiteRepository.AddOrUpdateStaging(ewhMapper.ToEntity(model, dto))) { return(true); } return(false); }