Exemplo n.º 1
0
        public void AddEmployeeSkills(EmployeeSkillsDTO Record)
        {
            EmployeeSkill ReturnRecord = EmployeeSkillRequestFormatter.EmployeeSkillDTOToDb(Record);

            ReturnRecord.EmpSkillStatus = true;
            _unitOfWork.EmployeeSkillRepository.Create(ReturnRecord);
        }
Exemplo n.º 2
0
        public void UpdateEmployeeSkill(EmployeeSkillsDTO Record)
        {
            EmployeeSkill ReturnRecord = EmployeeSkillRequestFormatter.EmployeeSkillDTOToDb(Record);

            ReturnRecord.EmpCode        = Record.EmpId;
            ReturnRecord.EmpSkillStatus = true;
            _unitOfWork.EmployeeSkillRepository.Update(ReturnRecord);
        }