public ActionResult TourPackages() { MstTourPackageGeneralViewAndSearch obj = new MstTourPackageGeneralViewAndSearch(); dalMstPackageType dbType = new dalMstPackageType(); obj.MstDestinationList = dbDest.MstDestinationList; obj.MstPackageTypeList = dbType.MstPackageList; obj.MstDurationList = dbTour.GetDurationList(); obj.MstTourPackageList = dbTour.GetTopTenPackages(); return(View("TourPackages", obj)); }
public ActionResult MountPandimTour() { MstTourPackageGeneralViewAndSearch obj = new MstTourPackageGeneralViewAndSearch(); dalMstPackageType dbType = new dalMstPackageType(); dalBlog objDal = new dalBlog(); int TotalRow; //obj.MstDestinationList = dbDest.MstDestinationList; //obj.MstPackageTypeList = dbType.MstPackageList; //obj.MstDurationList = dbTour.GetDurationList(); obj.MstTourPackageList = dbTour.GetTopTenPackages(); obj.BlogList = objDal.BlogGetPaged(1, 4, out TotalRow, ""); return(View(obj)); }