Ejemplo n.º 1
0
 // GET: Home
 public ActionResult Index()
 {
     ViewBag.IsLoggedIn     = IsLoggedIn;
     ViewBag.Advertisements = AdvertisementManager.Get();
     return(View());
 }
Ejemplo n.º 2
0
 // GET: User
 public ActionResult Profile()
 {
     ViewBag.Advertisements = AdvertisementManager.Get();
     return(View());
 }