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