Exemplo n.º 1
0
 public UserController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     RoleManager <IdentityRole> roleManager,
     IEmailSender emailSender,
     ILogger <UserController> logger,
     IVerificationProxy verificationProxy,
     ApplicationDbContext dbContext,
     IServiceConfigurationProxy config,
     IAppletUserService appletUserService,
     IPaymentServiceProxy paymentServiceProxy)
 {
     _userManager         = userManager;
     _signInManager       = signInManager;
     _emailSender         = emailSender;
     _logger              = logger;
     _roleManager         = roleManager;
     _verificationProxy   = verificationProxy;
     _dbContext           = dbContext;
     _config              = config;
     _appletUserService   = appletUserService;
     _paymentServiceProxy = paymentServiceProxy;
 }
Exemplo n.º 2
0
 public PaymentController(HttpClient httpClient, IPaymentServiceProxy paymentServiceProxy)
 {
     this.httpClient          = httpClient;
     this.paymentServiceProxy = paymentServiceProxy;
 }
Exemplo n.º 3
0
 public WeChatAppService(IPaymentServiceProxy paymentServiceProxy)
 {
     _paymentServiceProxy = paymentServiceProxy;
 }