Exemplo n.º 1
0
        public ServeViewModel(INavigationService navigator, RallyViewModel rallyViewModel, Team team)
        {
            _navigator     = navigator;
            RallyViewModel = rallyViewModel;

            Serve      = new Serve();
            Serve.Team = team;
            Team       = team;

            SaveCommand = new Command(Save);
        }
Exemplo n.º 2
0
        private void CreateRally()
        {
            RallyViewModel rallyViewModel = new RallyViewModel(_navigator, this);

            _navigator.NavigateTo(rallyViewModel, "VolleyballApp.Views.Rallies.RallyView");
        }