예제 #1
0
        public ActionResult Detail(int?tripID)
        {
            var tripDetails = TripService.GetScheduleDetail(tripID);
            var services    = BusinessService.GetAllServices(null).ToList();
            TripDetailListViewModel model = new TripDetailListViewModel
            {
                tripDetails = tripDetails,
                services    = services
            };

            return(View(model));
        }