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

            _servicePerson.Remove(objPerson);
        }
 protected override bool Handle(PersonRemoveCommand request)
 {
     return(_servicePerson.Remove(request.Id));
 }