private void BillTheCAllEvent(BillTheCallEventArgs e) { if (BillTheCAllEventHandler != null) { BillTheCAllEventHandler(this, e); } }
public void BillTheCallEventHandler(object?sender, BillTheCallEventArgs e) { _extendedCallInfos.Add(new ExendetCallInfo(e.CallInfo, GetContractByPhoneNumber(e.CallInfo.InPhoneNumber).Tariff.PricePerMinute)); }