public void COAAvailableDatesAsync()
        {
            CoAAvailableDates result = _soapClient.COAAvailableDatesAsync().Result;

            Assert.NotNull(result);
            Assert.True(result.AvailableDates.Length == 136);
        }
Beispiel #2
0
        /// <summary>
        ///     List available times
        /// </summary>
        public async Task <Dictionary <DateTime, List <DateTime> > > GetAvailableDates(bool isFullDay)
        {
            var availableDates = await _client.COAAvailableDatesAsync();

            return(GroupAvailableDates(availableDates, isFullDay));
        }