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