public MainViewModel(ILocationsService locationsService, IAppSettingsService settingsService)
 {
     this.locationsService = locationsService;
     this.settingsService  = settingsService;
     locationValidator     = new LocationItemValidator();
     Inactive = false;
 }
        //private ObservableCollection<Location> imLocation;

        public LocationViewModel(ILocationsService locationsService, ILocationGroupsService locationGroupService)
        {
            this.locationsService      = locationsService;
            this.locationGroupsService = locationGroupService;
            locationValidator          = new LocationItemValidator();
        }