コード例 #1
0
        public void CallRouting(int to, int from)
        {
            MobileAccount reciverMobileAccount = Accounts.Find(x => x.Number == to);

            reciverMobileAccount.GetCall(from);
            Jornal.Add(new Operation(1, Accounts.Find(x => x.Number == from), Accounts.Find(x => x.Number == to)));
        }
コード例 #2
0
        public void CallRouting(int to, int from)
        {
            MobileAccount reciverMobileAccount = Accounts.Find(x => x.number == to);

            reciverMobileAccount.GetCall(from);
        }
コード例 #3
0
        public void CallRouting(int number)
        {
            MobileAccount reciverMobileAccount = Accounts.Find(x => x.number == number);

            reciverMobileAccount.GetCall();
        }