public ActionResult Index() { DashboardViewModel model = new DashboardViewModel(); int number = categoriesService.GetAllNumberCategories(); model.TotalUsers = userService.GetAllNumberUser(); model.TotalAuctions = auctionsService.GetAllNumberAuctions(); model.TotalCategories = number; return(View(model)); }