Esempio n. 1
0
 public void DeletePerson(int personId)
 {
     /* Used UnitOfWork attribute, because we use different repositories and all operations must be transactional. */
     _personRepository.Delete(personId);
     _phoneRepository.DeletePhonesOfPerson(personId);
 }