private void ExecuteCreatePersonCommand(UiPerson uiPerson) { Person p = uiPerson.ToPerson(); _personDataStore.Create(p); _uiEvents.PersonDataStoreChanged(); _windowService.CloseCreatePersonWindow(); _uiEvents.SelectPersonById(p.PersonId); }
private void ExecuteCreatePersonCommand(UiPerson uiPerson) { Person p = uiPerson.ToPerson(); _personDataStore.Create(p); _uiEvents.PersonDataStoreChanged(); _windowService.CloseCreatePersonWindow(); _uiEvents.SelectPersonById(p.PersonId); }