Example #1
0
        public void AddPerson(object o)
        {
            IPerson person = m_personFactory.CreatePerson(Name, Address, Phone, IsActive);

            AddedPersonViewModel = m_personFactory.CreatePersonViewModel(person);
            CloseRequested?.Invoke(this, new DialogCloseRequestedEventArgs(true));
        }