Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
void OnAddFavClicked(Object sender, EventArgs e) { FirebaseService firebaseService = new FirebaseService(); if (IsFavourite) { firebaseService.RemoveFavourite(AccountManager.GetAccountId(), currentMovie); IsFavourite = false; } else { firebaseService.AddFavourite(AccountManager.GetAccountId(), currentMovie); IsFavourite = true; } SetFavButton(); }