Example #1
0
 public IActionResult CanEditRecipe(int recipeId)
 {
     return(Ok(_recipeRepo.CanEditRecipe(User.FindFirstValue(ClaimTypes.NameIdentifier), recipeId)));
 }