public async Task <IActionResult> History(int?id) { if (id == null) { return(NotFound()); } var repo = new StoreRepo(_context); var storeHistory = await repo.getStoreHistory((int)id); return(View(storeHistory)); }
public async Task <IActionResult> History(int?id) { if (id == null) { return(NotFound()); } var repo = new StoreRepo(_context); var storeHistory = await repo.getStoreHistory((int)id); return(View(storeHistory)); }