Beispiel #1
0
        public bool DeleteSkillTraining(DeleteSkillTrainingRequest deleteSkillTrainingRequest)
        {
            bool result = false;

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(deleteSkillTrainingRequest.ClientInfo);
                result = dal.DeleteSkillTraining(deleteSkillTrainingRequest.id, deleteSkillTrainingRequest.skill, deleteSkillTrainingRequest.competency);
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("TrainingController,DeleteSkillTraining", ex.Message, ex.StackTrace, "HCL.Academy.Service", deleteSkillTrainingRequest.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(result);
        }