Exemplo n.º 1
0
        public static void CompletedCall(LocationalCall call)
        {
            var locationalCall = ActiveCalls.Find(p => p.Sid == call.Sid);
            if (locationalCall == null)
                return;

            ActiveCalls.Remove(locationalCall);
            InactiveCalls.Add(locationalCall);
        }
        public static void CompletedCall(LocationalCall call)
        {
            var locationalCall = ActiveCalls.Find(p => p.Sid == call.Sid);

            if (locationalCall == null)
            {
                return;
            }

            ActiveCalls.Remove(locationalCall);
            InactiveCalls.Add(locationalCall);
        }
Exemplo n.º 3
0
 public static void AddNewCall(LocationalCall call)
 {
     ActiveCalls.Add(call);
 }
 public static void AddNewCall(LocationalCall call)
 {
     ActiveCalls.Add(call);
 }