예제 #1
0
        public void Update(PersonDTO obj)
        {
            var objPerson = _mapper.Map <Person>(obj);

            _servicePerson.Update(objPerson);
        }
예제 #2
0
        protected override void Handle(PersonUpdateCommand request)
        {
            var person = _mapper.Map <PersonUpdateDto, Person>(request.Person);

            _servicePerson.Update(person);
        }