public void AddAcademyConfig(string Title, string Value, RequestBase req) { AcademyConfig academyconfig = new AcademyConfig(); try { academyconfig.Title = Title; academyconfig.Value = Value; SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo); dal.AddAcademyConfig(academyconfig); } catch (Exception ex) { //LogHelper.AddLog("AcademyConfigController", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); } }