public bool AddRoleTraining(RoleTrainingRequest req) { bool response = false; try { SqlSvrDAL sqlDAL = new SqlSvrDAL(req.ClientInfo); response = sqlDAL.AddRoleTraining(req.TrainingId, req.RoleId, req.IsMandatory); } catch (Exception ex) { //LogHelper.AddLog("UserController,AddRoleTraining", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); } return(response); }