public FacebookController(IUserProfileRepository userProfileRepository, IAccountMailer accountMailer) { this.userProfileRepository = userProfileRepository; this.accountMailer = accountMailer; Mapper.CreateMap<FacebookRegisterModel, UserProfile>(); Mapper.CreateMap<FacebookRegisterModel, RegisterModel>(); }
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); }
public AccountController(IAccountMailer mailer) { this.mailer = mailer; }
/// <summary> /// Initializes a new instance of the <see cref="AccountAdapter"/> class. /// </summary> public AccountAdapter(IAccountMailer mailer) { this.mailer = mailer; }