Пример #1
0
        public BusinessModel(string customerFileName, string accountFileName, BankingSystem bankingSystem)
        {
            _CustomerFileName = customerFileName;
            _AccountFileName  = accountFileName;
            _BankingSystem    = bankingSystem;

            _Customers = new List <Customer>();
            _Accounts  = new List <Account>();
            try
            {
                ReadDataFromFiles();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Пример #2
0
        static void Main(string[] args)
        {
            BankingSystem bankingSystem = new BankingSystem();

            bankingSystem.Start();
        }
Пример #3
0
 public View(BankingSystem bankingSystem)
 {
     this._BankingSystem = bankingSystem;
 }