Révision ba296a27 GES_PAC/ViewModel/ChambersViewModel.cs
GES_PAC/ViewModel/ChambersViewModel.cs | ||
---|---|---|
21 | 21 |
#region Constructeurs |
22 | 22 |
public ChambersViewModel() |
23 | 23 |
{ |
24 |
OnClickChamberCommand = new Command<int>(async (id) => await GoToEnterAnimal(id)); |
|
24 |
OnClickChamberCommand = new Command<string>(async (idStr) => |
|
25 |
{ |
|
26 |
int id = int.Parse(idStr); |
|
27 |
await GoToEnterAnimal(id); |
|
28 |
}); |
|
25 | 29 |
|
26 | 30 |
} |
27 | 31 |
#endregion |
Formats disponibles : Unified diff