// GET api/test/5
 public Customer Get(string email)
 {
     _repository = new CrmManager();
     var customer = new Customer();
     var customers = _repository.FindCustomers(new CustomerCriteria());
     foreach (var c in customers)
     {
         if (c.Email == email)
         {
             customer = new Customer()
             {
                 ID = c.ID
             };
         }
     }
     return _repository.FindCustomer(customer.ID);
 }
        //public HttpResponseMessage Options()
        //{
        //    var response = new HttpResponseMessage();
        //    response.StatusCode = HttpStatusCode.OK;
        //    return response;
        //}

        // GET api/test
        public IEnumerable<Customer> Get()
        {
            _repository = new CrmManager();
            var criteria = new CustomerCriteria();
            return _repository.FindCustomers(criteria);
        }