Beispiel #1
0
        public void DeletePerson(UserOfContactInfoDto userOfContactInfoDto)
        {
            Guid ID = userOfContactInfoDto.ID;

            if (userOfContactInfoDto.PhoneNumber == null)
            {
                _userDtoManager.DeletePerson(ID);
            }
            else
            {
                _contactInfoDtoManager.DeleteContactInfo(ID);
                _userDtoManager.DeletePerson(ID);
            }
        }