Exemplo n.º 1
0
        public ActionResult Index()
        {
            AuctionViewModels vmodel = new AuctionViewModels();

            vmodel.AllAuction      = auctionsService.GetAuction();
            vmodel.PromotedAuction = auctionsService.GetpromotedAuctions();

            vmodel.ImagesFirstAuction = auctionsService.GetFirstAuctionImage(10);


            vmodel.PageTitle       = "Deal Double";
            vmodel.PageDescription = "This is Home Page";
            ViewBag.PublishedOn    = DateTime.Now;

            return(View(vmodel));
        }