// GET: api/Provider
 public IEnumerable<Provider> Get()
 {
     PatientRepository providerRepository = new PatientRepository();
     return providerRepository.GetProviderList();
 }
 // GET: api/Patients
 public IEnumerable<SendToGreenwayPatient> Get(string id)
 {
    PatientRepository patientRepository = new PatientRepository();
     return patientRepository.GetPatientList(id);
 }
 // GET: api/Patient
  public IEnumerable<SendToGreenwayPatient> Get(string id)
  {
     PatientRepository patientRepository = new PatientRepository();
      string filter = PostOffice.Api.Models.HttpRequestMessageExtensions.GetQueryString(Request, "filter.filters[0].value");
      return patientRepository.GetPatientListSendToGreenway(filter, id);
  }