public double Visit(Food food)
 {
     return postageCalculator.Visit(food) * FOOD_POSTAGE_INCREASE_RATE;
 }
Exemplo n.º 2
0
 public double Visit(Food food)
 {
     return food.Weight * POSTAGE_FOR_ONE_KILO_FODD;
 }