public async Task <IHttpActionResult> Index() { return(Ok(await _store.GetAllAsync())); }
// GET: Products public async Task <IActionResult> Index() { return(View(await _store.GetAllAsync())); }