Exemplo n.º 1
0
 public SignUp(string JsonFilePath, Utility.UIStyling UIStyling, UIBuffer UIBuffer)
 {
     _UIBuffer        = UIBuffer;
     _userService     = new UserService("", JsonFilePath);
     _UIStyling       = UIStyling;
     _passwordHider   = new Utility.PasswordHider(_UIBuffer);
     _dataValidations = new Utility.DataValidations();
 }
 public Login(string JsonFilePath, Utility.UIStyling UIStyling, UIBuffer UIBuffer)
 {
     _UIStyling             = UIStyling;
     _UIBuffer              = UIBuffer;
     _passwordHider         = new Utility.PasswordHider(_UIBuffer);
     _authenticationService = new AuthenticationService(JsonFilePath);
     _JsonFilePath          = JsonFilePath;
     _dataValidations       = new Utility.DataValidations();
 }
 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();
 }