Пример #1
0
        public bool AddChecklist(ChecklistRequest checklist)
        {
            bool response = false;

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(checklist.ClientInfo);
                response = dal.AddChecklist(checklist.name, checklist.selectedGEO, checklist.internalName, checklist.desc, checklist.choice, checklist.selectedRole);
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("ChecklistController", ex.Message, ex.StackTrace, "HCL.Academy.Service", checklist.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(response);
        }