public DbCenter() { _instance = this; clientDb = new clientContainer(); ReportCenter = new DbReportCenter(clientDb); UserCenter = new DbUserCenter(clientDb); }
public CUserController(DbCenter db, ClientCommunication c) { _loginView = new VLoginForm(); _initForm = new VInitializeForm(); _db = db; _defaultUser = _db.UserCenter.GetDefaultUser(); _cc = c; }
public CRequestController(DbCenter db, ClientCommunication c) { _db = db; _cc = c; _sendRequestView = new VSendRequest(); _recivedRequestView = new VRecievedRequest(); _sentRequestView = new VSentRequest(); _requestListView = new VRequestList(); }
public CHomePageController(DbCenter db, ClientCommunication cC) { client = cC; dbCenter = db; sReportC = new CSendReportController(db, cC); vReportC = new CViewReportController(db, cC); cRequestC = new CRequestController(db, cC); cUserC = new CUserController(db, cC); }
public CSendReportController(DbCenter db, ClientCommunication cC) { _db = db.ReportCenter; _communication = cC; }
public RequestManager(DbCenter dbCenter) { _dbCenter = dbCenter; }
public CViewReportController(DbCenter db, ClientCommunication cC) { _communication = cC; _db = db.ReportCenter; }