よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <IActionResult> ExpensiveThanPrice(int price) { var meals = await MealRepository.ExpensiveThanPrice(price); var mealToSend = Mapper.Map <IEnumerable <MealDTO> >(meals); return(meals != null ? (IActionResult)Ok(mealToSend) : NoContent()); }