public void AddCall(Call calls)
 {
     this.callHistory.Add(calls);
 }
        public List<Call> AddCall(Call call)
        {
            callHistory.Add(new Call(call.Date, call.Time, call.DilledPhoneNumber, call.DurationOfCall));

            return callHistory;
        }
Exemple #3
0
 /// <summary>
 /// Add calls to call history
 /// </summary>
 /// <param name="call">Call to be added</param>
 public void AddCall(Call call)
 {
     callHistory.Add(call);
 }