Пример #1
0
        public double getBalance(int id)
        {
            DatabaseController db = new DatabaseController();

            System.Diagnostics.Debug.WriteLine(db.getAccount(id));
            return(db.getAccount(id).Balance);
        }
Пример #2
0
        public Account Get(int id)
        {
            DatabaseController db = new DatabaseController();

            return(db.getAccount(id));
        }