public PrimaryObjectService( IPrimaryObjectRepository primaryObjectRepoistory, ISecondaryObjectRepository secondaryObjectRepository, IUnitOfWork unitOfWork) { Ensure.That(primaryObjectRepoistory, nameof(primaryObjectRepoistory)).IsNotNull(); Ensure.That(secondaryObjectRepository, nameof(secondaryObjectRepository)).IsNotNull(); Ensure.That(unitOfWork, nameof(unitOfWork)).IsNotNull(); this._primaryObjectRepoistory = primaryObjectRepoistory; this._secondaryObjectRepository = secondaryObjectRepository; this._unitOfWork = unitOfWork; }