Example #1
0
 /// <summary>
 /// Initialises a new instance of the <see cref="RecoverPassword"/> class. 
 /// </summary>
 /// <param name="log">Logging module</param>
 /// <param name="memberDataAccess">Member data access</param>
 /// <param name="emailSender">Email sender</param>
 /// <param name="hash">Password hasher</param>
 public RecoverPassword(ILogger log, IMemberDataAccess memberDataAccess, IEmailSender emailSender, IHash hash)
 {
     this.log = log;
     this.memberDataAccess = memberDataAccess;
     this.emailSender = emailSender;
     this.hash = hash;
 }
Example #2
0
 public HomeController(IMessageService messageService, IEmailSender emailSender)
 {
     _messageService = messageService;
     _emailSender = emailSender;
 }