Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public WorkshopFilterService(IWorkshopFilterRepository filterRepository, IDbContextScopeFactory factory)
 {
     _filterRepository = filterRepository;
     this.scopeFactory = factory;
 }