Example #1
0
 private void OnRecipeFavoriteTagChanging(RecipeFavoriteTagChanging message)
 {
     _recipeService.ToggleRecipeFavoriteTagAsync(message.RecipeId, message.IsFavorite);
 }
        private void ToggleFavoriteTag()
        {
            var message = new RecipeFavoriteTagChanging(this, Id, IsFavorite);

            _messenger.Publish(message);
        }