Пример #1
0
        public void AddMobileTransfer(float ammount, string donatorPhoneNumber, string buyerPhoneNumber)
        {
            var donator           = apiServer.GetAuthModel(donatorPhoneNumber);
            var buyer             = apiServer.GetAuthModel(buyerPhoneNumber);
            var mobileTransaction = new MobileTransaction {
                SourceAuthModelID      = donator.ID,
                DestinationAuthModelID = buyer.ID,
                Ammount = ammount
            };

            apiServer.AddMobileTransaction(mobileTransaction);
        }