コード例 #1
0
        public void CloseProject(int id)
        {
            var project = _destRepo.GetProjectById(id);

            if (project == null || project.ProjectStatusId == 2)
            {
                return;
            }
            project.ProjectStatusId = 2;
            _destRepo.UpdateProject(project);
        }