public CRequestController(DbCenter db, ClientCommunication c)
 {
     _db = db;
     _cc = c;
     _sendRequestView    = new VSendRequest();
     _recivedRequestView = new VRecievedRequest();
     _sentRequestView    = new VSentRequest();
     _requestListView    = new VRequestList();
 }
Example #2
0
 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;
 }
Example #4
0
 public CSendReportController(DbReportCenter db)
 {
     _db            = db;
     _communication = new ClientCommunication();
 }
 public CViewReportController(DbCenter db, ClientCommunication cC)
 {
     _communication = cC;
     _db            = db.ReportCenter;
 }