private void SelectAreaManually(int index) { if (index >= 0) { _locationService.SelectArea(this.Areas[index].Area); this.ShowViewModel <HomeViewModel>(); } }
private void SelectArea(int areaIndex) { if (areaIndex != this.CurrentAreaIndex && areaIndex >= 0 && areaIndex < _areas.Count) { _areaPositioningService.SelectArea(_areas[areaIndex].Area); } }