public AssessmentQuestion GetAssessmentQuestionById(RequestBase req, int id) { AssessmentQuestion response = new AssessmentQuestion(); try { SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo); response = dal.GetAssessmentQuestionById(id); } catch (Exception ex) { //LogHelper.AddLog("AssessmentQuestionController", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); } return(response); }