using KellermanSoftware.ContactsModule.Models;

namespace KellermanSoftware.ContactsModule.ViewModels
{
    public sealed class ContactViewModel
    {
        private readonly ContactName _contactName;

        public ContactViewModel(ContactName contactName)
        {
            _contactName = contactName;
        }

        public long ContactId
        {
            get 
            { 
                return _contactName.ContactId; 
            }
        }

        public string ContactName
        {
            get 
            { 
                return _contactName.Name; 
            }
        }
    }
}
