private void RefreshBoatInventory(bool active = true) { if (active) { _boatInventory = _boatManager.RetrieveActiveBoats(); } else { _boatInventory = _boatManager.RetrieveInactiveBoats(); } }
// GET: Boat public ActionResult Index() { return(View(_boatManager.RetrieveActiveBoats())); }