public AccountPersonViewModel() { event_aggregator = ServiceLocator.Current.GetInstance <IEventAggregator>(); service_factory = ServiceLocator.Current.GetInstance <IServiceFactory>(); CurrentPerson = new AccountPersonWrapper(new AccountPerson()); BindCommands(); }
public AccountPersonViewModel() { event_aggregator = Unity.Container.Resolve <IEventAggregator>(); service_factory = Unity.Container.Resolve <IServiceFactory>(); CurrentPerson = new AccountPersonWrapper(new AccountPerson()); BindCommands(); }