private void UpdateRoute(int newIndex) { RouteInfoViewModel.UpdateInfo(Tiles.Where(o => o.IsSelected), RouteManagementViewModel); SelectedTileInfoViewModel.ChangeSelectedInfo(Tiles[newIndex]); RouteManagementViewModel.UpdateCurrentSavedRoute(); }
private void RouteManagementViewModel_AverageFoodPerSecondChanged() { RouteInfoViewModel.UpdateInfo(Tiles.Where(o => o.IsSelected), RouteManagementViewModel); }