|
|
|
@ -14,14 +14,14 @@ public partial class DetailAnimal : ContentPage
|
|
|
|
|
public async void Button_OnClick(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
(App.Current as App).Theque.SupprimerAnimal((App.Current as App).AnimalSelectionner);
|
|
|
|
|
await Shell.Current.GoToAsync("//Animal");
|
|
|
|
|
await Shell.Current.GoToAsync("//Animaux");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public async void Validate_OnClick(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
if ((App.Current as App).AnimalSelectionner.NomIsValid == true)
|
|
|
|
|
{
|
|
|
|
|
await Shell.Current.GoToAsync("//Animal");
|
|
|
|
|
await Shell.Current.GoToAsync("//Animaux");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|