public bool AddNewsEvents(NewsRequest request) { bool result = false; try { SqlSvrDAL dal = new SqlSvrDAL(request.ClientInfo); result = dal.AddNewsEvent(request.imageURL, request.header, request.body, request.trimmedBody); } catch (Exception ex) { //LogHelper.AddLog("NewsController,AddNewsEvents", ex.Message, ex.StackTrace, "HCL.Academy.Service", request.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); } return(result); }