Beispiel #1
0
        public void CopyProperties(Contracts.Persistence.IArtist other)
        {
            other.CheckArgument(nameof(other));

            Id   = other.Id;
            Name = other.Name;
        }
Beispiel #2
0
        public void CopyProperties(Contracts.Persistence.IArtist other)
        {
            if (other == null)
            {
                throw new ArgumentNullException(nameof(other));
            }

            Id   = other.Id;
            Name = other.Name;
        }