Beispiel #1
0
 public UserController(Microsoft.Extensions.Options.IOptions <Settings> settings, ILogger <UserController> logger, HoverDb db, IDataProtectionProvider provider)
 {
     Settings   = settings.Value;
     _logger    = logger;
     Db         = db;
     _protector = provider.CreateProtector("Hover.Models.UserSignup");
 }
Beispiel #2
0
 public PreferController(Microsoft.Extensions.Options.IOptions <Settings> settings, ILogger <UserController> logger, HoverDb db, IDataProtectionProvider provider)
 {
     Settings = settings.Value;
     _logger  = logger;
     Db       = db;
 }