public void CopyProperties(Contracts.Persistence.IAlbum other) { other.CheckArgument(nameof(other)); Id = other.Id; ArtistId = other.ArtistId; Title = other.Title; }
public void CopyProperties(Contracts.Persistence.IAlbum other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Id = other.Id; ArtistId = other.ArtistId; Title = other.Title; }