public HistoricalExcelService(MainRegionViewModel main,
     IEventContext eventContext, 
     IObjectServiceOperations objectServiceOperations,
     IInteractionService interactionService,
     IHistoricalTimeUtility historicalTimeUtility, 
     IValueFormatter valueFormatter,
     IApplicationProperties appliationProperties)
 {
     _historicalTimeUtility = historicalTimeUtility;
     _valueFormatter = valueFormatter;
     _objectServiceOperations = objectServiceOperations;
     _interactionService = interactionService;
     _appliationProperties = appliationProperties;
 }
 public MainRegion(MainRegionViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }