public CreatePolicyHandler(
     IUnitOfWork unitOfWork,
     IEventPublisher eventPublisher,
     OfferDomainService offerDomainService,
     PolicyDomainService policyDomainService)
 {
     this._unitOfWork     = unitOfWork;
     this._eventPublisher = eventPublisher;
     _offerDomainService  = offerDomainService;
     _policyDomainService = policyDomainService;
 }
Example #2
0
 public CreateOfferByAgentHandler(IUnitOfWork unitOfWork, IPricingAgent pricingAgent, OfferDomainService offerDomainService)
 {
     _unitOfWork         = unitOfWork;
     _pricingAgent       = pricingAgent;
     _offerDomainService = offerDomainService;
 }