Exemple #1
0
        public IHttpActionResult GetScheduledExcursionInfo(int grafikId)
        {
            var scheduledExcursion = mapper.Map <ExcursionModel>(
                excursionsScheduleService.GetScheduledExcursionsInfo(grafikId));

            return(Ok(scheduledExcursion));
        }
Exemple #2
0
        public override void GetExpositionScheduleExcursions(IExcursionsScheduleService excursionsScheduleService)
        {
            Choice("Please enter grafik or exposition Id :");
            var scheduleExcursion = excursionsScheduleService.GetScheduledExcursionsInfo(choice);

            if (scheduleExcursion == null)
            {
                Console.WriteLine("Not found");
                return;
            }
            Console.WriteLine(scheduleExcursion.ToString());
        }