public string GenerateDb() { //string ret = ""; ManagerRepository manager = new ManagerRepository(); if (manager.GenerateDB()) { DB_NAME = manager.GetDataBaseName(); } return(DB_NAME); }
public bool HasDatabase() { bool ret = false; ManagerRepository managerRepository = new ManagerRepository(); if (managerRepository.GetDataBaseName() == DB_NAME) { ret = true; } return(ret); }