using System;

namespace KellermanSoftware.ContactsModule.ViewModels
{
    public class ContactSelectedEventArgs : EventArgs
    {
        private readonly long? _contactId;

        public ContactSelectedEventArgs(long? contactId)
        {
            _contactId = contactId;
        }

        public long? ContactId 
        {
            get { return _contactId; }
        }
    }

    public interface IContactsViewModel
    {
        event EventHandler<ContactSelectedEventArgs> ContactSelected;

        event EventHandler EditContactDetailsRequested;

        void ReloadContactsList(long selectedContactId);
    }
}
