// GET: api/Patient
  public IEnumerable<SendToGreenwayPatient> Get(string id)
  {
     PatientRepository patientRepository = new PatientRepository();
      var queryString = this.Request.GetQueryNameValuePairs().ToList();
      string filter = System.Web.Http.HttpRequestMessageExtensions.GetQueryString(Request, "filter.filters[0].value");
      return patientRepository.GetPatientListSendToGreenway(filter, id);
  }
 // GET: api/Provider
 public IEnumerable<Provider> Get()
 {
     PatientRepository providerRepository = new PatientRepository();
     return providerRepository.GetProviderList();
 }