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