public UserServices(UserManager pUserManager)
 {
     _userManager = pUserManager;
     _tellerManager = new TellerManager();
     roleServices = ServicesProvider.GetInstance().GetRoleServices();
     branchServices = ServicesProvider.GetInstance().GetBranchService();
 }
 public UserServices(User pUser, string pTestDb)
 {
     _userManager = new UserManager(pTestDb);
     _tellerManager = new TellerManager(pTestDb);
     roleServices = ServicesProvider.GetInstance().GetRoleServices();
     branchServices = ServicesProvider.GetInstance().GetBranchService();
 }
 public ChartOfAccountsServices(string testDB)
 {
     _accountManagement = new AccountManager(testDB);
     _provisionningRuleManager = new ProvisioningRuleManager(testDB);
     _tellerManager = new TellerManager(testDB);
     _loanScaleManager = new LoanScaleManager(testDB);
     _currencyManager = new CurrencyManager(testDB);
     ConnectionManager.GetInstance(testDB);
 }
 public ChartOfAccountsServices(User pUser)
 {
     _user = pUser;
     _accountManagement = new AccountManager(pUser);
     _tellerManager = new TellerManager(pUser);
     _provisionningRuleManager = new ProvisioningRuleManager(pUser);
     _loanScaleManager = new LoanScaleManager(pUser);
     _currencyManager = new CurrencyManager(pUser);
 }
Exemple #5
0
 public UserServices(UserManager pUserManager)
 {
     _user = new User();
     _userManager = pUserManager;
     _tellerManager = new TellerManager("");
 }
Exemple #6
0
 public UserServices(User pUser, string pTestDb)
 {
     _user = pUser;
     _userManager = new UserManager(pTestDb, pUser);
     _tellerManager = new TellerManager(pTestDb);
 }
Exemple #7
0
 public TellerServices(User user)
 {
     _manager = new TellerManager(user);
 }