Exemple #1
0
        public ActionResult Index()
        {
            AuctionsViewModel vModel = new AuctionsViewModel();

            vModel.AllAuctions = service.GetAllAuctions();

            vModel.PromotedAuctions = service.GetPromotedAuctions();

            ViewBag.Title = " Home Page";

            ViewBag.MyPageTitle = "Marketplace";



            return(View(vModel));
        }