public Billing(IEnumerable <ITariff> tariffs)
 {
     Data             = new BillingUnit();
     PhoneManagement  = new PhoneManagement(Data);
     BalanceOperation = new BalanceOperation(PhoneManagement);
     CallManagement   = new CallManagement(Data, PhoneManagement);
     Tariffs          = tariffs;
 }
 public void PutPhoneOnRecord(object sender, ContractConclusionEvent e)
 {
     PhoneManagement.PutPhoneOnRecord(e.PhoneNumber, e.Tariff);
 }