Example #1
0
        public System.Collections.Generic.List <ClubCloud_Reservering> GetReserveringenByDate(string bondsnummer, Guid verenigingId, DateTime date, bool refresh = false)
        {
            List <ClubCloud_Reservering> reserveringen = new List <ClubCloud_Reservering>();

            if (SPContext.Current != null && SPContext.Current.Web != null)
            {
                ClubCloudServiceClient client = new ClubCloudServiceClient(SPServiceContext.Current);
                reserveringen = client.GetReserveringenByDate(bondsnummer, verenigingId, date, refresh);
            }

            return(reserveringen);
        }