public List <UserAssessment> GetAssessmentForUser(UserwiseAssessmentsRequest request) { List <UserAssessment> response = new List <UserAssessment>(); try { SqlSvrDAL dal = new SqlSvrDAL(request.ClientInfo); response = dal.GetAssessmentForUser(request.Userid, request.OnlyOnBoardedTraining); } catch (Exception ex) { //LogHelper.AddLog("AssessmentController", ex.Message, ex.StackTrace, "HCL.Academy.Service", request.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); } return(response); }