public DbCenter() { _instance = this; clientDb = new clientContainer(); ReportCenter = new DbReportCenter(clientDb); UserCenter = new DbUserCenter(clientDb); }
public CSendReportController(DbCenter db, ClientCommunication cC) { _db = db.ReportCenter; _communication = cC; }
public CSendReportController(DbReportCenter db) { _db = db; _communication = new ClientCommunication(); }
public CViewReportController(DbReportCenter db) { _db = db; }
public CViewReportController(DbCenter db, ClientCommunication cC) { _communication = cC; _db = db.ReportCenter; }
public DbReportCenter() { instance = this; // skeleton patern }