コード例 #1
0
        private void ExecuteCreatePersonCommand(UiPerson uiPerson)
        {
            Person p = uiPerson.ToPerson();

            _personDataStore.Create(p);
            _uiEvents.PersonDataStoreChanged();
            _windowService.CloseCreatePersonWindow();
            _uiEvents.SelectPersonById(p.PersonId);
        }