// GET api/values public IEnumerable<object> Get() { using(GolfStoppRepository repository = new GolfStoppRepository()) { return repository.GetClubs(); } }