Пример #1
0
 public NetWorthService(ICashRepository cashRepository, IInvestedAssetsRepository investedAssetsRepository, IUseAssetsRepository useAssetsRepository, IMapper mapper, INetWorthRepository netWorthRepository, ILiabilitiesRepository liabilitiesRepository)
 {
     _cashRepository           = cashRepository;
     _investedAssetsRepository = investedAssetsRepository;
     _useAssetsRepository      = useAssetsRepository;
     _mapper                = mapper;
     _netWorthRepository    = netWorthRepository;
     _liabilitiesRepository = liabilitiesRepository;
 }
Пример #2
0
 public LiabilitiesService(ILiabilitiesRepository liabilitiesRepository, IDriverRepository driverRepositor,
                           IContainerRepository containerRepository, IDispatchRepository dispatchRepository,
                           IExpenseDetailRepository expenseDetailRepository, IExpenseRepository expenseRepository,
                           ICustomerRepository customerRepository, IOrderRepository orderRepository,
                           ILiabilitiesItemRepository liabilitiesItemRepository, IUnitOfWork unitOfWork)
 {
     this._liabilitiesRepository     = liabilitiesRepository;
     this._driverRepository          = driverRepositor;
     this._containerRepository       = containerRepository;
     this._dispatchRepository        = dispatchRepository;
     this._expenseDetailRepository   = expenseDetailRepository;
     this._expenseRepository         = expenseRepository;
     this._customerRepository        = customerRepository;
     this._orderRepository           = orderRepository;
     this._liabilitiesItemRepository = liabilitiesItemRepository;
     this._unitOfWork = unitOfWork;
 }