Example #1
0
 //Inject the DataAccessRepository using Construction Injection
 public TrxTenagaAhliHeaderController(IDataAccessRepository <trxTenagaAhliHeader, int> r, TrxTenagaAhliHeaderRep repTAhliHeader, TrxTenagaAhliRep repTAhli
                                      , TrxTenagaPendukungRep repTPendukung, MstRekananRep repRekanan, TrxTenagaAhliUploadRep repTAUpload)
 {
     _repository     = r;
     _repTAhliHeader = repTAhliHeader;
     _repTAhli       = repTAhli;
     _repTPendukung  = repTPendukung;
     _repRekanan     = repRekanan;
     _repTAUpload    = repTAUpload;
 }
 //Inject the DataAccessRepository using Construction Injection
 public TrxTenagaPendukungController(IDataAccessRepository <trxTenagaPendukung, int> r, TrxTenagaPendukungRep repPendukung)
 {
     _repository   = r;
     _repPendukung = repPendukung;
 }