Example #1
0
 public PaymentMethodsUpdater(IEnumerable <string> logins, IEnumerable <Guid> products, string newValue)
 {
     FileDao        = new FileDao();
     DatabaseDao    = new DatabaseDao();
     Logins         = logins;
     Products       = products;
     NewTariffTable = newValue;
 }
Example #2
0
 public PaymentMethodsUpdater(string pathToLogins)
 {
     FileDao        = new FileDao();
     DatabaseDao    = new DatabaseDao();
     Logins         = FileDao.GetLogins(pathToLogins);
     Products       = FileDao.GetProducts();
     NewTariffTable = FileDao.GetNewValue();
 }
Example #3
0
 public void InitializeData(string path)
 {
     Logins         = FileDao.GetLogins(path);
     Products       = FileDao.GetProducts();
     NewTariffTable = FileDao.GetNewValue();
 }
Example #4
0
 public EnvironmentPreparator()
 {
     DatabaseDao = new DatabaseDao();
     FileDao     = new FileDao();
 }