Пример #1
0
        public ActionResult RequestSuccess(long id)
        {
            var obj = dbTour.GetTourPackageByID(id);

            ViewBag.PackageName = obj.PackageName;
            ViewBag.Duration    = obj.TotalDays;
            return(View());
        }
Пример #2
0
        public ActionResult Edit(long id)
        {
            MstTourPackageManageModel obj     = new MstTourPackageManageModel();
            dalMstPackageType         objPack = new dalMstPackageType();

            obj.MstPackageDropDown = objPack.MstPackageList;
            obj.MstTourPackage     = dbTour.GetTourPackageByID(id);
            return(View("Edit", obj));
        }