Exemplo n.º 1
0
        public List <Assessment> GetAssessments(SkillwiseAssessmentsRequest request)
        {
            List <Assessment> response = new List <Assessment>();

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(request.ClientInfo);
                response = dal.GetAssessments(request.SkillId, request.CompetenceId);
            }
            catch (Exception ex)
            {
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
                //LogHelper.AddLog("AssessmentController", ex.Message, ex.StackTrace, "HCL.Academy.Service", request.ClientInfo.emailId);
            }
            return(response);
        }