public void DeleteAssociateTest()
        {
            var associate = associatesRepository.GetAssociate(567894);

            associatesRepository.DeleteAssociate(associate);
            unitOfWork.Commit();
            var assoc = associatesRepository.GetAssociate(567894);

            Assert.Null(assoc);
        }
 public void RemoveAssociate(Associate associate)
 {
     associatesRepository.DeleteAssociate(associate);
 }
예제 #3
0
 public void RemoveAssociate(Associate associate)
 {
     associatesRepository.DeleteAssociate(associate);
     unitOfWork.Commit();
 }