Ejemplo n.º 1
0
        public void Update(EmployeeProjectModel employeeProjectModel)
        {
            var employeeProjectEntity = Mapper.Map <EmployeeProjectModel, EmployeeProject>(employeeProjectModel);

            _context.Entry(employeeProjectEntity).State = EntityState.Modified;
        }
Ejemplo n.º 2
0
        public void Update(ProjectSkillModel projectSkillModel)
        {
            var projectSkillEntity = Mapper.Map <ProjectSkillModel, ProjectSkill>(projectSkillModel);

            _context.Entry(projectSkillEntity).State = EntityState.Modified;
        }
Ejemplo n.º 3
0
        public void Update(SkillModel skillModel)
        {
            var skill = Mapper.Map <SkillModel, Skill>(skillModel);

            _context.Entry(skill).State = EntityState.Modified;
        }