Beispiel #1
0
        /**********************************************************************************************
         * Mehtod   명 : GetDepartmentUsed
         * 개   발  자 : 양영석
         * 생   성  일 : 2014-03-04
         * 용       도 : 사용되고 있는 SigmaRole를 조회
         * Input    값 : GetDepartmentUsed(프로젝트ID)
         * Ouput    값 : SigmaResultType
         **********************************************************************************************/
        /// <summary>
        /// GetDepartmentUsed : 사용되고 있는 SigmaRole를 조회
        /// </summary>
        /// <param name="ProjectId">프로젝트ID</param>
        /// <returns>SigmaResultType</returns>
        public SigmaResultType GetDepartmentUsed(string ProjectId)
        {
            SigmaResultType result = new SigmaResultType();

            try
            {
                WorkflowMgr workflowMgr = new WorkflowMgr();

                // wfp_GetSigmaRoleUsed
                result = workflowMgr.GetDepartmentUsed(ProjectId);
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }