// GET: api/CustomerService/5 public Customer Get(long id) { return(CustomerTable.SingleOrDefault(customer => customer.Id == id)); }