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;
            }
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            BankingSystem bankingSystem = new BankingSystem();

            bankingSystem.Start();
        }
Beispiel #3
0
 public View(BankingSystem bankingSystem)
 {
     this._BankingSystem = bankingSystem;
 }