public System.Collections.Generic.List <ClubCloud_Baan> GetBanenByAccommodatieId(string bondsnummer, Guid verenigingId, Guid accommodatieId, bool refresh = false) { List <ClubCloud_Baan> banen = new List <ClubCloud_Baan>(); if (SPContext.Current != null && SPContext.Current.Web != null) { ClubCloudServiceClient client = new ClubCloudServiceClient(SPServiceContext.Current); banen = client.GetBanenByAccommodatieId(bondsnummer, verenigingId, accommodatieId, refresh); } return(banen); }