/// <summary> /// /// </summary> /// <param name="topUpService"></param> /// <param name="subscriberService"></param> /// <param name="unitsService"></param> /// <param name="cashDonationAttemptService"></param> /// <param name="paystackService"></param> /// <param name="paystackConfig"></param> public DonateController(ICashDonationService topUpService, IDonationUnitsService unitsService, ICashDonationAttemptService cashDonationAttemptService, IPayStackServices paystackService, IPaymentConfigurationService paystackConfig, ApplicationUserManager userManager) { this.topUpService = topUpService; this.cashDonationAttemptService = cashDonationAttemptService; this.unitsService = unitsService; this.paystackService = paystackService; this.payStackConfiguration = paystackConfig; this._userManager = userManager; }
public DashboardController(ICashDonationService topupService, ApplicationUserManager userManager) { this.topupService = topupService; this.userManager = userManager; }