Esempio n. 1
0
 public Utils()
 {
     CommissionerRepo = new IMCommissionerRepo();
     recipientRepo    = new IMRecipientRepo();
     parcelRepo       = new IMParcelRepo();
     parcelLockerRepo = new IMParcelLockerRepo();
     delivererRepo    = new IMDelivererRepo();
     commissionRepo   = new IMCommissionRepo();
 }
 public OpenLockerCommandHandler(
     IParcelLockerRepo parcelLockerRepo,
     ICommissionRepo commissionRepo,
     IMapper mapper
     )
 {
     _parcelLockerRepo = parcelLockerRepo;
     _commissionRepo   = commissionRepo;
     _mapper           = mapper;
 }
 public HomeController(IDelivererRepo delivererRepo, IMediator mediator, ICommissionRepo commissionRepo)
 {
     _delivererRepo  = delivererRepo;
     _mediator       = mediator;
     _commissionRepo = commissionRepo;
 }
Esempio n. 4
0
 public CreateCommissionCommandHandler(ICommissionRepo commissionRepo, IMapper mapper)
 {
     _repo   = commissionRepo;
     _mapper = mapper;
 }
Esempio n. 5
0
 public FinishCreatingCommissionCommandHandler(ICommissionRepo commissionRepo, IParcelLockerRepo parcelLockerRepo, IMapper mapper)
 {
     _commissionRepo   = commissionRepo;
     _parcelLockerRepo = parcelLockerRepo;
     _mapper           = mapper;
 }