public async Task <List <T> > GetAll() { return(await _itemsService.GetAllItemsAsync()); }
// GET: Items public async Task <IActionResult> Index() { var allItems = service.GetAllItemsAsync(); return(View(await allItems)); }