public bool SaveAssessmentMaster(AssessmentMasterRequest request) { AssessmentMaster AM = new AssessmentMaster(); AM.AssessmentId = request.AssessmentId; AM.AssessmentName = request.AssessmentName; AM.Description = request.Description; AM.AssessmentLink = request.AssessmentLink; AM.AssessmentTimeInMins = request.AssessmentTimeInMins; AM.SelCompetencyId = request.SelCompetencyId; AM.SelSkillId = request.SelSkillId; AM.SelTrainingId = request.SelTrainingId; AM.PassingMarks = request.PassingMarks; AM.IsMandatory = request.IsMandatory; AM.Points = request.Points; bool response = false; try { SqlSvrDAL dal = new SqlSvrDAL(request.ClientInfo); dal.AddAssessmentMaster(AM); response = true; } catch (Exception ex) { //LogHelper.AddLog("AssessmentMasterController", ex.Message, ex.StackTrace, "HCL.Academy.Service", request.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); } return(response); }