public MstDatamasterController(MstTypeOfRekananRep repTypeOfRekanan, MstTypeOfRegionRep repRegion, MstSegmentasiRep repSegmen, MstReferenceRep repReff, MstSubRegionRep repSubRegion)
 {
     _repTypeOfRekanan = repTypeOfRekanan;
     _repRegion = repRegion;
     _repSegmen = repSegmen;
     _repReff = repReff;
     _repSubRegion = repSubRegion;
 }
 //Inject the DataAccessRepository using Construction Injection
 public MstRekananController(IDataAccessRepository <mstRekanan, System.Guid> r, MstTypeOfRegionRep rRegion
                             , MstTypeOfRekananRep rTRekanan, MstTypeOfBadanUsahaRep rTBadan, MstWilayahRep rTWilayah, MstKecamatanRep rTKecamatan
                             , MstRekananRep rRekanan)
 {
     _repository          = r;
     _repRegion           = rRegion;
     _repTypeOfRekanan    = rTRekanan;
     _repTypeOfBadanUsaha = rTBadan;
     _repWilayah          = rTWilayah;
     _repKecamatan        = rTKecamatan;
     _repRekanan          = rRekanan;
 }
示例#3
0
 //Inject the DataAccessRepository using Construction Injection
 public MstRekananController(IDataAccessRepository <mstRekanan, System.Guid> r, MstTypeOfRegionRep rRegion
                             , MstTypeOfRekananRep rTRekanan, MstTypeOfBadanUsahaRep rTBadan, MstWilayahRep rTWilayah, MstKecamatanRep rTKecamatan
                             , MstRekananRep rRekanan, MstContactRep rContact, mstEmailPoolRep repEmailPool, TrxRegistrationRequestRep repRegRequest)
 {
     _repository          = r;
     _repRegion           = rRegion;
     _repTypeOfRekanan    = rTRekanan;
     _repTypeOfBadanUsaha = rTBadan;
     _repWilayah          = rTWilayah;
     _repKecamatan        = rTKecamatan;
     _repRekanan          = rRekanan;
     _repContact          = rContact;
     _repEmailPool        = repEmailPool;
 }
 //Inject the DataAccessRepository using Construction Injection
 public MstPengumumanController(IDataAccessRepository <mstPengumuman, int> r, mstPengumumanRep repPengumuman, MstTypeOfRekananRep rTRekanan)
 {
     _repository       = r;
     _repContact       = repPengumuman;
     _repTypeOfRekanan = rTRekanan;
 }