예제 #1
0
        public void Execute(object parameter)
        {
            var faculty = _dataProvider.GetFacultyByUniversityAndGroupId(_university.Id, _group.Id);

            if (faculty == null)
            {
                return;
            }
            _flurryPublisher.PublishContextMenuShowGroupTimeTable(_university, _group.GroupName, _group.Id);
            var navigationParameter = new LessonsNavigationParameter
            {
                Id           = _group.Id,
                IsTeacher    = false,
                FacultyId    = faculty.Id,
                UniversityId = _university.Id
            };

            _navigationService.NavigateTo <LessonsPageViewModel, LessonsNavigationParameter>(navigationParameter);
        }