Exemplo n.º 1
0
        public ActionResult Index()
        {
            List <Ads>      ads = db.getimagewisedata();
            List <Category> cat = db.NavMenu();

            ViewBag.category = cat;

            return(View(ads));
        }