コード例 #1
0
        public bool AddProjectSkillResource(ProjectSkillResourceRequest request)
        {
            bool status = false;

            try
            {
                ProjectSkillResource psr = new ProjectSkillResource();
                psr.projectId              = request.projectId;
                psr.skillId                = request.skillId;
                psr.competencyLevelId      = request.competencyLevelId;
                psr.expectedResourceCount  = request.expectedResourceCount;
                psr.availableResourceCount = request.availableResourceCount;
                SqlSvrDAL dal = new SqlSvrDAL(request.ClientInfo);
                status = dal.AddProjectSkillResource(request.projectId, psr);
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("ProjectController,AddProjectSkillResource", ex.Message, ex.StackTrace, "HCL.Academy.Service", request.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(status);
        }