Example #1
0
 public AssetsService(IAssetsMainRepository assetsMainRep,
                      IAnimalRepository animalRep,
                      IBooksRepository bookRep,
                      ICarRepository carRep,
                      ILandRepository landRep,
                      IHouseRepository houseRep,
                      ICulturalrelicRepository culturalrelicRep,
                      IBuildingRepository buildingRep,
                      ISpecialRepository specialRep,
                      IGeneralRepository generalRep,
                      IAquairRepository aquairRep,
                      IClassCodeRepository classCodeRep,
                      IDiffResultRepository diffResultRep,
                      IDepartmentRepository deptRep,
                      IPlaceRepository placeRep,
                      ILedGerCachRepository ledGerCachRep,
                      IBorrowRepository borrowRep,
                      IBorrowDetailRepository borrowDetailRep,
                      IAquairDetailRepository aquairDetailRep,
                      IReturnDetailRepository returnDetailRep,
                      IRepairRepository repairRep,
                      IRepairDetailRepository repairDetailRep,
                      IScrapApllyRepository scrapApllyRep,
                      IScrapApplyDetailRepository srScrapApplyDetailRep,
                      IOrderListRepository orderListRep,
                      IInventoryRepository inventoryRep,
                      IInventoryDetailRepository inventoryDetailRep,
                      IServiceDetailRepository IServiceDetailRep
                      )
 {
     _assetsMainRep         = assetsMainRep;
     _animalRep             = animalRep;
     _bookRep               = bookRep;
     _carRep                = carRep;
     _houseRep              = houseRep;
     _landRep               = landRep;
     _culturalrelicRep      = culturalrelicRep;
     _buildingRep           = buildingRep;
     _specialRep            = specialRep;
     _generalRep            = generalRep;
     _aquairRep             = aquairRep;
     _classCodeRep          = classCodeRep;
     _diffResultRep         = diffResultRep;
     _deptRep               = deptRep;
     _placeRep              = placeRep;
     _ledGerCachRep         = ledGerCachRep;
     _borrowRep             = borrowRep;
     _borrowDetailRep       = borrowDetailRep;
     _aquairDetailRep       = aquairDetailRep;
     _returnDetailRep       = returnDetailRep;
     _repairRep             = repairRep;
     _repairDetailRep       = repairDetailRep;
     _scrapApllyRep         = scrapApllyRep;
     _srScrapApplyDetailRep = srScrapApplyDetailRep;
     _orderListRep          = orderListRep;
     _inventoryRep          = inventoryRep;
     _inventoryDetailRep    = inventoryDetailRep;
     _IServiceDetailRep     = IServiceDetailRep;
 }
Example #2
0
 public void StartUp()
 {
     _repository  = Substitute.For <IDiffResultRepository>();
     _diffService = new DiffService(_repository);
 }
Example #3
0
 public DiffService(IDiffResultRepository repository)
 {
     _repository = repository;
 }