Beispiel #1
0
        public List <AcademyConfig> GetAllAcademyConfig(RequestBase req)
        {
            List <AcademyConfig> lstAcademyConfig = new List <AcademyConfig>();

            try
            {
                ///  IDAL dal = (new DALFactory(req.ClientInfo)).GetInstance();
                SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo);
                lstAcademyConfig = dal.GetAllAcademyConfig();
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("AcademyConfigController", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(lstAcademyConfig);
        }