public List <Item> GetInventory(Location location) { if (LocationExists(location) == false) { throw new Exception("Location does not exist"); } return(_locationDB.GetInventory(location)); }