Esempio n. 1
0
 private void ShowRecipe(RecipeListItemViewModel recipe)
 {
     ShowViewModel <RecipeDetailedListViewModel>(new RecipeDetailedListParameters
     {
         RecipeId           = recipe.Id,
         CategoryId         = Query.CategoryId ?? default(int),
         CategorySelected   = Query.CategoryId.HasValue,
         IsFavoriteSelected = Query.OnlyFavorite,
         SearchTerm         = Query.SearchTerm
     });
 }
Esempio n. 2
0
 private void ShowRecipe(RecipeListItemViewModel recipe)
 {
     ShowViewModel <RecipeDetailedListViewModel>();
 }