Révision 957b1f34 GES_PAC/ViewModel/EndSetViewModel.cs

Voir les différences:

GES_PAC/ViewModel/EndSetViewModel.cs
1
using GES_PAC.Model;
2
using GES_PAC.Services;
3
using GES_PAC.View;
1
using GES_PAC.View;
4 2

  
5 3
namespace GES_PAC.ViewModel
6 4
{
......
13 11
        #endregion
14 12

  
15 13
        #region Commandes
16
        public Command GoToCreateDayCommand { get; }
14
        public Command GoToSetListCommand { get; }
17 15
        #endregion
18 16

  
19 17
        #region Propriétés
......
52 50
            NumberAnimal = serieActuelle.GetAnimalCount();
53 51
            NumberMeasure = serieActuelle.GetMeasureCount();
54 52
            NumberBehaviour = serieActuelle.GetBehaviourCount();
55
            GoToCreateDayCommand = new Command(async () => await GoToCreateDayPage());
53
            GoToSetListCommand = new Command(async () => await GoToSetListPage());
56 54
        }
57 55
        #endregion
58 56

  
59 57
        #region Méthodes
60
        private async Task GoToCreateDayPage()
58
        private async Task GoToSetListPage()
61 59
        {
62 60
            if (IsBusy) return;
63 61
            IsBusy = true;

Formats disponibles : Unified diff