public bool DeleteTraining(RequestBase request, int id) { bool response = false; try { SqlSvrDAL dal = new SqlSvrDAL(request.ClientInfo); bool? check = false; response = dal.DeleteTraining(id, out check); } catch (Exception ex) { //LogHelper.AddLog("TrainingMasterController,AddTraining", ex.Message, ex.StackTrace, "HCL.Academy.Service", request.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); } return(response); }