Beispiel #1
0
        public List <RoleTraining> GetAllRoleTrainings(RequestBase req)
        {
            List <RoleTraining> trainingCourses = new List <RoleTraining>();

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo);
                trainingCourses = dal.GetAllRoleTrainings();
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("TrainingController,GetAllRoleTrainings", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(trainingCourses);
        }