Exemple #1
0
 public ClassStudentApplicationService(
     IOptions <CRMOptions> classOptions,
     IBranchRepository branchRepository,
     IProductLevelRepository productLevelRepository,
     IClassRelationRepository classRelationRepository,
     ITransferLogRepository transferLogRepository,
     IContractRepository contractRepository,
     IProductRepository productRepository,
     IProductRelationRepository productRelationRepository,
     IUnitOfWorkManager unitOfWorkManager
     ) : base(unitOfWorkManager)
 {
     this._classOptions              = classOptions;
     this._branchRepository          = branchRepository;
     this._productLevelRepository    = productLevelRepository;
     this._classRelationRepository   = classRelationRepository;
     this._transferLogRepository     = transferLogRepository;
     this._contractRepository        = contractRepository;
     this._productRepository         = productRepository;
     this._productRelationRepository = productRelationRepository;
 }
 public TransferEventHandler(ITransferLogRepository transferLogRepository)
 {
     _transferLogRepository = transferLogRepository;
 }
 public TransferLogService(ITransferLogRepository repository, IEventBus bus)
 {
     _repository = repository;
     _bus        = bus;
 }
 public TransferService(ITransferLogRepository transferRepository, IEventBus bus)
 {
     _transferRepository = transferRepository;
     _bus = bus;
 }