private void AddToFavorites() { _favoritedItemsManager.Add(_isTeacher, _isTeacher ? _teacher.Id : _group.Id, _isTeacher ? _teacher.Name : _group.GroupName, _university, _facultyId); FavoritedState = FavoritedState.Favorited; _flurryPublisher.PublishMarkFavorite(_university, _isTeacher, (_isTeacher ? _teacher.Name : _group.GroupName), (_isTeacher ? _teacher.Id : _group.Id)); }
private void AddGoupToFavorites(Group group, University university) { _favoritedItemsManager.Add(false, group.Id, group.GroupName, university, _facultyId); _navigation.NavigateTo <LessonsPageViewModel, LessonsNavigationParameter>(GetNavigationParameters(group), 4); }