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