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); }
public void RemoveAssociate(Associate associate) { associatesRepository.DeleteAssociate(associate); unitOfWork.Commit(); }