Пример #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
     });
 }
Пример #2
0
 private void ShowRecipe(RecipeListItemViewModel recipe)
 {
     ShowViewModel <RecipeDetailedListViewModel>();
 }