public AccountController(IWebFormsAuthentication webFormsAuthentication, IUserRepository userRepository, IDataMorpher encDecryption, IMailer mailer) { this.webFormsAuthentication = webFormsAuthentication; this.userRepository = userRepository; this.encDecryption = encDecryption; this.mailer = mailer; }
/// <summary> /// Initialises new instance of <see cref="InviteFriendsController"></see> /// </summary> /// <param name="iFriendInvitationRepository">Friend Repository</param> /// <param name="mailer">Mailer</param> /// <param name="encDecryption">Encrypt and Decryptor</param> public InviteFriendsController(IFriendInvitationRepository iFriendInvitationRepository, IMailer mailer, IDataMorpher encDecryption, IUserSession userSession) { this.iFriendInvitationRepository = iFriendInvitationRepository; this.mailer = mailer; this.encDecryption = encDecryption; this.userSession = userSession; }
/// <summary> /// Initialises new instance of <see cref="UserRepository"/> /// </summary> /// <param name="encDecryption">Encryption Decryption</param> /// <param name="permissionHelper">Permission Helper</param> public UserRepository(IDataMorpher encDecryption, IPermissionHelper permissionHelper, IUserSession userSession) { this.encDecryption = encDecryption; this.permissionHelper = permissionHelper; this.userSession = userSession; }
public RegisterViewModel(IDataMorpher encDecryption) { this.encDecryption = encDecryption; }
public Mailer(IDataMorpher dataMorpher) { this.dataMorpher = dataMorpher; }