Exemplo n.º 1
0
        public List <Training> GetAllTrainings(RequestBase req)
        {
            List <Training> trainings = new List <Training>();

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