public void LoadModules() { if (LogInModule.LogInUser.Rights == 0) { MiscellaneousModule.Initialize(); StationsModule.Initialize(); } }
public ViewModelLocator() { StationMapsModule = new StationMapsModule(_repository); LogInModule = new LogInModule(_repository); MiscellaneousModule = new MiscellaneousModule(_repository); StationsModule = new StationsModule(_repository); MeasurementsModule = new MeasurementsModule(_repository); }