public ActionResult Index()
        {
            ViewData.Model = _readmodel.GetInventoryItems();

            return(View());
        }
Exemple #2
0
        public IActionResult Index()
        {
            var model = _readmodel.GetInventoryItems();

            return(View(model));
        }
Exemple #3
0
 public IActionResult Index()
 {
     return(View(_readmodel.GetInventoryItems()));
 }
 public InventoryItemListDataCollection GetInventoryItems()
 {
     return(new InventoryItemListDataCollection(_readmodel.GetInventoryItems()));
 }