public GoodsCategoryAppService(IDbUnitOfWork dbUnitOfWork, IEventBus eventBus, IGoodsCategoryRepository goodsCategoryRepository, ITagRepository tagRepository) { _dbUnitOfWork = dbUnitOfWork; _eventBus = eventBus; _goodsCategoryRepository = goodsCategoryRepository; _tagRepository = tagRepository; }
public GoodsCategoryUseCaseService(IGoodsCategoryRepository repository, IGoodsRepository goodsRepository, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork) { this.repository = repository; this.goodsRepository = goodsRepository; this.unitofWork = unitofWork; this.eventBus = eventBus; this.stateManager = stateManager; }
/// <summary> /// Initializes a new instance of the <see cref="UnitOfWork"/> class. /// </summary> /// <param name="contextParam">The context parameter.</param> /// <param name="organizationsListRepositoryParam">The organizations list repository parameter.</param> public UnitOfWork(FundTrackContext contextParam, IOrganizationsForFilteringRepository organizationsListRepositoryParam, IUserResporitory userListRepositoryParam, IEventManagementRepository eventRepository, IOrganizationRepository organizationRepository, IMembershipRepository membershipRepositoryParam, IRepository <Address> addressRepository, IRepository <OrgAddress> orgAddressRepository, IRepository <BankAccount> bankAccountRepository, IRequestedItemRepository requestedItemRepository, IRepository <Role> roleRepository, IRepository <EventImage> eventImageRepositoryParam, IRepository <OfferedItem> offeredItemRepository, IStatusRepository statusRepository, IUserResponseRepository userResponseRepository, IGoodsCategoryRepository goodsCategoryRepository, IRequestedItemImageRepository requestedItemImageRepository, IGoodsTypeRepository goodsTypeRepository, IOfferImagesRepository offeredItemImageRepository, IBankImportDetailRepository bankImportDetailRepository, IOrganizationAccountRepository organizationAccountRepository, IRepository <Currency> currencyRepository, ITargetRepository targetRepository, IDonationRepository donationRepository, IFinOpRepository finOpRepository, IPhoneRepository phoneRepository, IRepository <FinOpImage> finOpImagesRepository ) { this._context = contextParam; this._organizationsListRepository = organizationsListRepositoryParam; this._usersListRepository = userListRepositoryParam; this._membershipRepository = membershipRepositoryParam; _eventRepository = eventRepository; _organizationRepository = organizationRepository; _addressRepository = addressRepository; _orgAddressRepository = orgAddressRepository; _bankAccountRepository = bankAccountRepository; _roleRepository = roleRepository; _eventImageRepository = eventImageRepositoryParam; _offeredItemRepository = offeredItemRepository; _goodsCategoryRepository = goodsCategoryRepository; _userResponseRepository = userResponseRepository; _requestedItemRepository = requestedItemRepository; _statusRepository = statusRepository; _requestedItemImageRepository = requestedItemImageRepository; _goodsTypeRepository = goodsTypeRepository; _offeredItemImageRepository = offeredItemImageRepository; _bankImportDetailRepository = bankImportDetailRepository; _organizationAccountRepository = organizationAccountRepository; _currencyRepository = currencyRepository; _targetRepository = targetRepository; _donationRepository = donationRepository; _finOpRepository = finOpRepository; this._phoneRepository = phoneRepository; _finOpImagesRepository = finOpImagesRepository; }
public GoodsUseCaseService(IGoodsRepository repository, IGoodsCategoryRepository goodsCategoryRepository, IEsGoodsRepository esGoodsRepository, ILocalEventBus localEventBus, IServiceProxyFactory serviceProxyFactory, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork) { this.repository = repository; this.goodsCategoryRepository = goodsCategoryRepository; this.unitofWork = unitofWork; this.eventBus = eventBus; this.stateManager = stateManager; this.serviceProxyFactory = serviceProxyFactory; this.actorService = serviceProxyFactory.CreateActorProxy <IGoodsActorService>(); this.esGoodsRepository = esGoodsRepository; this.localEventBus = localEventBus; }
public EventHandler(IGoodsRepository repository, IGoodsCategoryRepository categoryRepository, IEsGoodsRepository esGoodsRepository, ILimitedTimeActivitieRepository limitrepository, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork, EfDbContext efDbContext, IElasticSearchRepository <EsGoodsDto> searchRepository, IOrderQueryService orderQueryService, ILocalEventBus localEventBus ) { this.repository = repository; this.categoryRepository = categoryRepository; this.limitrepository = limitrepository; this.unitofWork = unitofWork; this.eventBus = eventBus; this.stateManager = stateManager; this.esGoodsRepository = esGoodsRepository; this.efDbContext = efDbContext; this.searchRepository = searchRepository; this.orderQueryService = orderQueryService; this.localEventBus = localEventBus; }
public GoodsValidityCheckSpecification(IGoodsRepository goodsRepository, IGoodsCategoryRepository goodsCategoryRepository) { this.goodsRepository = goodsRepository; this.goodsCategoryRepository = goodsCategoryRepository; }
public UniqueGoodsCategoryNameSpecification(IGoodsCategoryRepository categoryRepository) { this.categoryRepository = categoryRepository; }