Beispiel #1
0
        public async System.Threading.Tasks.Task <IViewComponentResult> InvokeAsync()
        {
            var stocks = await _manager.GetLowInventoryAsync();

            return(View("Default", stocks));
        }
Beispiel #2
0
        public async Task <IActionResult> LowInventory()
        {
            var stocks = await _manager.GetLowInventoryAsync();

            return(View(stocks));
        }