public ActionResult <Meal> GetMeal(int id) { return(mealRepository.GetMealByID(id)); }
public static string GetMealName(int mealId) { return(mealRepository.GetMealByID(mealId).Name); }
public Meal GetMealByID(int id) { var meal = mealRepository.GetMealByID(id); return(meal); }