Exemple #1
0
        /// <summary>
        /// Available slots from share point.
        /// </summary>
        /// <param name="dateString">The date string.</param>
        /// <returns>returns Available slots.</returns>
        public static string AvailableSlotsFromSharePoint(string dateString)
        {
            string   returnSlots  = string.Empty;
            DateTime dateReceived = Convert.ToDateTime(dateString);

            try
            {
                returnSlots = SharePointRepository.GetAvailableSlots(dateReceived);
            }
            catch (Exception)
            {
                throw;
            }

            return(returnSlots);
        }