public async Task <IActionResult> Index() { var filter = new FilterDto { BothFilter = true }; var model = await viewModelService.GetToDoListAsync(filter, StartPageIndex); return(View(model)); }