public WorkshopAccountService(IWorkshopAccountRepository accountRepo, IDbContextScopeFactory scopeFactory, IAccountService accountService, IAddressService addressService, IWorkshopFilterRepository filterRepo, IGeoLocator geoLocator, IEventBus eventBus) { _addressService = addressService; this.filterRepo = filterRepo; this.accountService = accountService; _workshopAccountRepository = accountRepo; _dbContextScope = scopeFactory; this.eventBus = eventBus; this.geoLocator = geoLocator; }
public WorkshopFilterService(IWorkshopFilterRepository filterRepository, IDbContextScopeFactory factory) { _filterRepository = filterRepository; this.scopeFactory = factory; }