public DonationCommandHandler(IMediatorHandler mediator, IGivenRepository givenRepository, IDesiredRepository desiredRepository, ILogger <DonationCommandHandler> logger, INotificationHandler <DomainNotification> notifications) : base(mediator, (DomainNotificationHandler)notifications, logger) { _mediator = mediator; _givenRepository = givenRepository; _desiredRepository = desiredRepository; }
public DonationController(IMediatorHandler mediator, IDonationRepository donationRepository, IDesiredRepository desiredRepository, IGivenRepository givenRepository, UserManager <IdentityUser> userManager, IUserAdapter userAdapter, INotificationHandler <DomainNotification> notifications, IStringLocalizer <DonationController> localizer, ILogger <DonationController> logger) : base(notifications, userManager, userAdapter, mediator, localizer, logger) { _donationRepository = donationRepository; _desiredRepository = desiredRepository; _givenRepository = givenRepository; }