public MainViewModel(IIOService <ObservableCollection <Planet> > inOutService) { planets = inOutService.Load(); if (planets == null) { planets = new ObservableCollection <Planet>(); } this.inOutService = inOutService; MessengCollection(planets); theme.AddTheme(); }