protected ManageController CreateManageController( VeilUserManager userManager = null, VeilSignInManager signInManager = null, IVeilDataAccess veilDataAccess = null, IGuidUserIdGetter idGetter = null, IStripeService stripeService = null) { return new ManageController(userManager, signInManager, veilDataAccess, idGetter, stripeService); }
/// <summary> /// Instantiates a new instance of AccountController /// </summary> /// <param name="userManager"> /// The <see cref="VeilUserManager"/> for the controller to use /// </param> /// <param name="signInManager"> /// The <see cref="VeilSignInManager"/> for the controller to use /// </param> /// <param name="stripeService"> /// The <see cref="IStripeService"/> to use for Stripe customer creation /// </param> public AccountController( VeilUserManager userManager, VeilSignInManager signInManager, IStripeService stripeService) { this.userManager = userManager; this.signInManager = signInManager; this.stripeService = stripeService; }
/// <summary> /// Instantiates a new instance of ManageController with the provided arguments /// </summary> /// <param name="userManager"> /// The <see cref="VeilUserManager"/> for the controller to use /// </param> /// <param name="signInManager"> /// The <see cref="VeilSignInManager"/> for the controller to use /// </param> /// <param name="veilDataAccess"> /// The <see cref="IVeilDataAccess"/> to use for database access /// </param> /// <param name="idGetter"> /// The <see cref="IGuidUserIdGetter"/> to use for getting the current user's Id /// </param> /// <param name="stripeService"> /// The <see cref="IStripeService"/> to use for Stripe interaction /// </param> public ManageController( VeilUserManager userManager, VeilSignInManager signInManager, IVeilDataAccess veilDataAccess, IGuidUserIdGetter idGetter, IStripeService stripeService) { this.userManager = userManager; this.signInManager = signInManager; db = veilDataAccess; this.idGetter = idGetter; this.stripeService = stripeService; }