예제 #1
0
        // GET: Dashboard
        public ActionResult Index()
        {
            DashboardViewModel model = new DashboardViewModel();

            model.UserCount    = service.GetUserCount();
            model.AuctionCount = service.GetAuctionCount();
            model.BidsCount    = service.GetBidsCount();

            return(View(model));
        }