コード例 #1
0
 // GET: / Spotlight / Full Archives
 public ActionResult Archives()
 {
     ViewBag.DataArchives = Spotlight.GetSpotlights();
     ViewBag.currSpot     = Spotlight.CurrSpotlight(currSpotlight);
     return(View());
 }
コード例 #2
0
        //
        // GET: / Spotlight / Partial Archives

        public ActionResult Index(int slideOrder)
        {
            ViewBag.Archives = Spotlight.GetSpotlights();
            ViewBag.CurrSpot = Spotlight.CurrSpotlight(slideOrder);
            return(View());
        }