//Inject the DataAccessRepository using Construction Injection public TrxBranchOfficeController(IDataAccessRepository <trxBranchOffice, int> r, TrxBranchOfficeRep repBranch, MstWilayahRep rTWilayah, MstKecamatanRep rTKecamatan) { _repository = r; _repBranch = repBranch; _repWilayah = rTWilayah; _repKecamatan = rTKecamatan; }
//Inject the DataAccessRepository using Construction Injection public TrxBranchOfficeHeaderController(IDataAccessRepository <trxBranchOfficeHeader, int> r, TrxBranchOfficeHeaderRep repBranchHeader, MstWilayahRep rTWilayah, MstKecamatanRep rTKecamatan, TrxBranchOfficeRep repBranch) { _repository = r; _repBranchHeader = repBranchHeader; _repWilayah = rTWilayah; _repKecamatan = rTKecamatan; _repBranch = repBranch; }
//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; }
//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; }