Inheritance: IUserInfo, IPoco
Exemple #1
0
 private EmailQueue GetEmail(Reset model, string subject, string message)
 {
     return new EmailQueue
     {
         AddedOn = DateTime.Now,
         FromName = model.Name,
         Subject = subject,
         Message = message,
         SendTo = model.Email
     };
 }
Exemple #2
0
 private EmailQueue GetEmail(IEmailProcessor processor, Reset model, string subject, string message)
 {
     return new EmailQueue
     {
         AddedOn = DateTimeOffset.UtcNow,
         FromName = processor.Config.FromName,
         ReplyTo = processor.Config.FromEmail,
         ReplyToName = processor.Config.FromName,
         Subject = subject,
         Message = message,
         SendTo = model.Email,
         SendOn = DateTimeOffset.UtcNow
     };
 }
Exemple #3
0
 public ResetEmail(Reset reset)
 {
     _resetDetails = reset;
 }
Exemple #4
0
 public ResetEmail(Reset reset)
 {
     this._resetDetails = reset;
 }