public KlantenDataService(IKlantenRepository klantenRepository, IOfferteRepository offerteRepository, IFactuurRepository factuurRepository, IMapper mapper)
 {
     _klantenRepo  = klantenRepository;
     _offerteRepo  = offerteRepository;
     _facturenRepo = factuurRepository;
     _mapper       = mapper;
 }
示例#2
0
 public FactuurDataService(IOfferteRepository offerteRepo, IGenerator generator, IFactuurRepository factuurRepository, IMapper mapper)
 {
     _offerteRepo = offerteRepo;
     _generator   = generator;
     _factuurRepo = factuurRepository;
     _mapper      = mapper;
 }
 public OfferteDataService(IOfferteRepository offerteRepo, IKlantenRepository klantenRepo, IMapper mapper, IGenerator offerteGenerator, IPreviewGenerator previewGenerator)
 {
     _offerteRepo      = offerteRepo;
     _klantenRepo      = klantenRepo;
     _offerteGenerator = offerteGenerator;
     _previewGenerator = previewGenerator;
     _mapper           = mapper;
 }
 public FactuurRepository(EntityContext entityContext, IOfferteRepository offerteRepository) : base(entityContext)
 {
     _context     = entityContext;
     _offerteRepo = offerteRepository;
 }