public DonationController(
     UserManager <ApplicationUser> userManager,
     IDonationService donationService,
     IOptions <StripeSettings> stripeSettings,
     ICampaignService campaignService,
     ILoggerServicecs loggerServicer,
     IHttpContextAccessor httpContextAccessor,
     IOptions <CurrencySettings> currencySettings,
     ICurrencyService currencyService,
     IStringLocalizer <DonationController> localizer,
     ICountryService countryService,
     CountrySeeder countrySeeder)
 {
     _userManager         = userManager;
     _donationService     = donationService;
     _stripeSettings      = stripeSettings;
     _campaignService     = campaignService;
     _loggerService       = loggerServicer;
     _httpContextAccessor = httpContextAccessor;
     _currencySettings    = currencySettings;
     _currencyService     = currencyService;
     _countryService      = countryService;
     _localizer           = localizer;
     countrySeeder.Seed();
 }
Ejemplo n.º 2
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     ISmsSender smsSender,
     IViewRenderService viewRenderService,
     ILoggerServicecs loggerService,
     IHttpContextAccessor httpContextAccessor,
     IOptions <CurrencySettings> currencySettings,
     IStringLocalizer <AccountController> localizer,
     ICurrencyService currencyService,
     IInvoiceHistoryService invoiceHistoryService)
 {
     _userManager               = userManager;
     _signInManager             = signInManager;
     _emailSender               = emailSender;
     _smsSender                 = smsSender;
     _viewRenderService         = viewRenderService;
     _loggerService             = loggerService;
     _httpContextAccessor       = httpContextAccessor;
     _currencySettings          = currencySettings;
     _currencyService           = currencyService;
     _localizer                 = localizer;
     this.invoiceHistoryService = invoiceHistoryService;
 }
Ejemplo n.º 3
0
 public ContactController(ILoggerServicecs loggerService,
                          IUnsubscribeUserService unsubscribeUserService,
                          IStringLocalizer <ContactController> localizer
                          )
 {
     _loggerService          = loggerService;
     _unsubscribeUserService = unsubscribeUserService;
     _localizer = localizer;
 }
 public SubscriptionController(UserManager <ApplicationUser> userManager,
                               IDonationService donationService,
                               IOptions <StripeSettings> stripeSettings,
                               IStringLocalizer <SubscriptionController> localizer,
                               ILoggerServicecs loggerService)
 {
     _userManager     = userManager;
     _donationService = donationService;
     _stripeSettings  = stripeSettings;
     _loggerService   = loggerService;
     _localizer       = localizer;
 }
Ejemplo n.º 5
0
 public DonateController(UserManager <ApplicationUser> userManager,
                         IDonationService donationService,
                         IOptions <StripeSettings> stripeSettings,
                         ICampaignService campaignService,
                         IStringLocalizer <DonateController> localizer,
                         ILoggerServicecs loggerService, ICurrencyService currencyService)
 {
     _userManager     = userManager;
     _donationService = donationService;
     _stripeSettings  = stripeSettings;
     _campaignService = campaignService;
     _localizer       = localizer;
     _currencyService = currencyService;
     _loggerService   = loggerService;
 }
Ejemplo n.º 6
0
 public LocalizationController(ICurrencyService currencyService, ILoggerServicecs loggerService)
 {
     _currencyService = currencyService;
     _loggerService   = loggerService;
 }