よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <ActionResult <Appointment> > GetById(int id) { try { return(await _appointmentService.FindOneByIdAsync(id)); } catch { return(NotFound()); } }