Пример #1
0
 public async Task <IActionResult> Index(int recipeId)
 {
     return(View(await _revisionService.GetRevisionsByRecipeId(recipeId)));
 }
Пример #2
0
 public async Task <List <RecipeRevision> > GetAllByRecipeId(int recipeId)
 {
     return(await _revisionService.GetRevisionsByRecipeId(recipeId));
 }