Example #1
0
        public List <TrainingMaster> GetAllMasterTrainings(RequestBase request)
        {
            List <TrainingMaster> response = new List <TrainingMaster>();

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(request.ClientInfo);
                response = dal.GetAllMasterTrainings();
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("TrainingMasterController,GetAllMasterTrainings", ex.Message, ex.StackTrace, "HCL.Academy.Service", request.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(response);
        }