public CustomerUI(string userID, string userName, string bankID, string JsonFilePath, UI.Utility.UIStyling UIStyling, UIBuffer UIBuffer) { _userID = userID; _UIBuffer = UIBuffer; _bankID = bankID; _userService = new UserService(userID, JsonFilePath); _accountService = new AccountService(userID, JsonFilePath); _transactionService = new TransactionService(userID, JsonFilePath); _exchangeRateServices = new ExchangeRateService(JsonFilePath); _UIStyling = UIStyling; _userName = userName; }
public StaffMemberUI(string userID, string userName, string bankID, string JsonFilepath, Utility.UIStyling UIStyling, UIBuffer UIBuffer) { this._userID = userID; this._bankID = bankID; _userName = userName; _UIBuffer = UIBuffer; _bankService = new BankService(userID, JsonFilepath); _userService = new UserService(userID, JsonFilepath); _accountService = new AccountService(userID, JsonFilepath); _transactionService = new TransactionService(userID, JsonFilepath); _exchangeRateService = new ExchangeRateService(JsonFilepath); _UIStyling = UIStyling; _dataValidations = new Utility.DataValidations(); }