示例#1
0
        /// <summary>
        /// Gets data of reservations by current date
        /// </summary>
        /// <param name="year"></param>
        /// <param name="month"></param>
        /// <param name="day"></param>
        /// <returns></returns>
        public string Get(int year, int month, int day)
        {
            ReservationManager manager = new ReservationManager();
            var    dayReservations     = manager.GetDayReservation(year, month, day);
            string result = JsonConvert.SerializeObject(dayReservations);

            return(result);
        }