コード例 #1
0
        public ActionResult Index(HotelOfferModel model)
        {
            using (HotelsOfferingActivities activities = new HotelsOfferingActivities())
            {
                var getOffersResult = activities.GetOffers(model.Filter, model.Sorting);

                return(View(getOffersResult.ReturnedObject));
            }
        }
コード例 #2
0
        public ActionResult Index()
        {
            using (HotelsOfferingActivities activities = new HotelsOfferingActivities())
            {
                var getOffersResult = activities.GetOffers(null, null);

                return(View(getOffersResult.ReturnedObject));
            }
        }