Esempio n. 1
0
        public IActionResult Index()
        {
            _computerRepository.RemoveOverdue();
            _queueRepository.BookFromQueue();
            _queueRepository.MoveQueue();
            var homeViewModel = new HomeViewModel
            {
                CommonPlaces = _computerRepository.GetNumberOfFreeCommons(),
                VipPlaces    = _computerRepository.GetNumberOfFreeVips()
            };

            return(View(homeViewModel));
        }