Beispiel #1
0
        public List <ProjectSkillResource> GetAllProjectSkillResourcesByProjectID(RequestBase req, int ProjectID)
        {
            List <ProjectSkillResource> lstPsr = new List <ProjectSkillResource>();

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo);
                lstPsr = dal.GetAllProjectSkillResourcesByProjectID(ProjectID);       //Gets all ProjectsSkillResource for a particular Project
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("ProjectController,GetAllProjectSkillResourcesByProjectID", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(lstPsr);
        }