Esempio n. 1
0
 public CallDetail(CallType callType, DateTime timeCalled, int durationInMinutes, CallDestination destination, double cost = 0)
 {
     CallType          = callType;
     Destination       = destination;
     TimeCalled        = timeCalled;
     DurationInMinutes = durationInMinutes;
     Cost = cost;
 }
Esempio n. 2
0
        public override double MakeExternalCall(int durationInMinutes, CallDestination destination)
        {
            var helper = new Helpers.CallHelper();

            return(helper.GetCallCost(destination.Type, durationInMinutes, destination.Name));
        }
Esempio n. 3
0
 public override double MakeExternalCall(int durationInMinutes, CallDestination destination)
 {
     throw new NotImplementedException();
 }