// GET: Customer
 public ActionResult Index()
 {
     CustomerRepository r = new CustomerRepository();
     List<Customer> customers = r.GetAll();
     return View(customers);
 }
 // GET api/customers
 public IEnumerable<Customer> Get()
 {
     CustomerRepository r = new CustomerRepository();
     return r.GetAll();
 }