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