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

            _servicePerson.Remove(objPerson);
        }
예제 #2
0
 protected override bool Handle(PersonRemoveCommand request)
 {
     return(_servicePerson.Remove(request.Id));
 }