Beispiel #1
0
        // GET: Voucher
        public ActionResult Index()
        {
            var lsLinked_Site = Linked_SiteService.GetAllLinked_Site();

            ViewBag.lsLinked_Site = lsLinked_Site;
            return(View());
        }
Beispiel #2
0
        public ActionResult CashBackDetail()
        {
            var allCashback = CashbackService.GetCashbackView();

            ViewBag.allCashback = allCashback;
            var allLinkSite = Linked_SiteService.GetAllLinked_Site();

            ViewBag.allLinkSite = allLinkSite;
            return(View());
        }
        // GET: Cashback
        public ActionResult Index()
        {
            var lsLinked_Site = Linked_SiteService.GetAllLinked_Site();
            var lsCategories  = CategoriesService.GetAllCategories();
            var lsPercent     = PercentService.GetAllPercent();

            ViewBag.lsLinked_Site = lsLinked_Site;
            ViewBag.lsCategories  = lsCategories;
            ViewBag.lsPercent     = lsPercent;
            return(View());
        }
Beispiel #4
0
 public JsonResult GetAllLinked_Site()
 {
     return(Json(Linked_SiteService.GetAllLinked_Site(), JsonRequestBehavior.AllowGet));
 }