public List <Skill> GetAllSkills(RequestBase req) { List <Skill> skills = new List <Skill>(); try { SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo); skills = dal.GetAllSkills(); } catch (Exception ex) { //LogHelper.AddLog("SkillController,GetAllSkills", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); } return(skills); }