예제 #1
0
 public FacebookController(IUserProfileRepository userProfileRepository, IAccountMailer accountMailer)
 {
     this.userProfileRepository = userProfileRepository;
     this.accountMailer = accountMailer;
     Mapper.CreateMap<FacebookRegisterModel, UserProfile>();
     Mapper.CreateMap<FacebookRegisterModel, RegisterModel>();
 }
예제 #2
0
 public AccountController(IUserProfileRepository userProfileRepository, IAccountMailer accountMailer, ICampaignDonorRepository campaignDonorRepository)
 {
     this.accountMailer = accountMailer;
     this.userProfileRepository = userProfileRepository;
     this.campaignDonorRepository = campaignDonorRepository;
     Mapper.CreateMap<RegisterModel, UserProfile>();
     Mapper.CreateMap<UserProfile, RegisterModel>();
 }
 public ResetPasswordService(
     IdentityUserManager userManager,
     IAccountMailer accountMailer,
     IdentitySecurityLogManager identitySecurityLogManager)
 {
     AccountMailer = accountMailer;
     IdentitySecurityLogManager = identitySecurityLogManager;
     UserManager          = userManager;
     LocalizationResource = typeof(AccountResource);
 }
예제 #4
0
 public AccountController(IAccountMailer mailer)
 {
     this.mailer = mailer;
 }
예제 #5
0
 public AccountController(IAccountMailer mailer)
 {
     this.mailer = mailer;
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountAdapter"/> class.
 /// </summary>
 public AccountAdapter(IAccountMailer mailer)
 {
     this.mailer = mailer;
 }
예제 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountAdapter"/> class.
 /// </summary>
 public AccountAdapter(IAccountMailer mailer)
 {
     this.mailer = mailer;
 }