// GET: api/Patient/5 public Patient Get(long id) { var host = new PatientHost(); var patient = host.GetPatientById(id); return patient; }
// GET: api/Patient public List<Patient> Get() { var host = new PatientHost(); return host.GetAllPatient(); }