public IHttpActionResult getAppointment(int id) { try { var appointment = appointmentsServices.getAppointmentById(id); return(Ok(appointment)); } catch { return(NotFound()); } }
public IHttpActionResult getAppointment(int id) { try { var appointment = appointmentsServices.getAppointmentById(id); return(Ok(appointment)); } catch { return(NotFound()); } }