コード例 #1
0
        public WorkItem GetWithParents(int id)
        {
            var workItem = _repository.GetByIdWithParents(id);

            if (workItem == null)
            {
                throw new PmsException(string.Format(Resources.WorkItemNotFound, id));
            }
            return(workItem);
        }