예제 #1
0
        // Displays items
        public async Task <IActionResult> Index()
        {
            var allDays = await _dayService.GetIncompleteItemsAsync();

            var model = new DayViewModel()
            {
                AllDays = allDays
            };

            return(View(model));
        }