예제 #1
0
 public IngredientModel GetIngredientById(int ingredientId)
 {
     return(_iIngredientRepository.GetIngredientList().Where(x => x.Id == ingredientId).FirstOrDefault());
 }