public ClientServices(User pUser, string testDB) { _user = pUser; _clientManagement = new ClientManager(testDB); _dataParam = ApplicationSettings.GetInstance(pUser.Md5); _picturesServices = new PicturesServices(testDB); }
public ClientServices(User pUser) { _user = pUser; _clientManagement = new ClientManager(pUser, true, true); _clientManagement.ClientSelected += ClientSelected; _dataParam = ApplicationSettings.GetInstance(pUser.Md5); _picturesServices = new PicturesServices(pUser); }
// MOCK public ClientServices(ClientManager clientManagement) { _clientManagement = clientManagement; _connectionManager = ConnectionManager.GetInstance(TESTDB); _dataParam = ApplicationSettings.GetInstance(""); _picturesServices = new PicturesServices(TESTDB); _dataParam.DeleteAllParameters(); _dataParam.AddParameter("GROUP_MIN_MEMBERS", 4); _dataParam.AddParameter("GROUP_MAX_MEMBERS", 10); _dataParam.AddParameter(OGeneralSettings.ALLOWSMULTIPLEGROUPS, 0); _dataParam.AddParameter("CITY_MANDATORY", true); }
// MOCK public ClientServices(ApplicationSettings dataParam) { _clientManagement = new ClientManager(TESTDB); _connectionManager = ConnectionManager.GetInstance(TESTDB); _picturesServices = new PicturesServices(TESTDB); _dataParam = dataParam; }