Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public IActionResult CheaperThanPrice(int price) { var meals = MealRepository.CheaperThanPrice(price); var mealToSend = Mapper.Map <IEnumerable <MealDTO> >(meals); return(meals != null ? (IActionResult)Ok(mealToSend) : NoContent()); }