public void Dispose() { _collaboratorRepository?.Dispose(); _phoneRepository?.Dispose(); _phoneService?.Dispose(); _addressRepository?.Dispose(); _addressService?.Dispose(); }
public void Dispose() { _collaboratorRepository.Dispose(); GC.SuppressFinalize(this); }