예제 #1
0
 public void DeleteService(Service _service)
 {
     services.Remove(_service);
     CountingTheCost(_service, -1);
 }
예제 #2
0
 private void CountingTheCost(Service _service, int i)
 {
     coast += _service.price * i;
 }
예제 #3
0
 public void AddService(Service _service)
 {
     services.Add(_service);
     CountingTheCost(_service, 1);
 }