Exemplo n.º 1
0
 public CustomCookieAuthenticationEvents(AuctionContext context)
 {
     // Get the database from registered DI services.
     db = context;
 }
Exemplo n.º 2
0
 public EmailSender(IOptions <EmailAuthOptions> optionsAccessor, AuctionContext context)
 {
     Options  = optionsAccessor.Value;
     _context = context;
 }