Exemple #1
0
 public UserController(PatoDBContext context,
                       IdentityDbContext identitycontext,
                       UserManager <IdentityUser> usermanager,
                       SignInManager <IdentityUser> signinmanager,
                       ILoggerFactory loggerFactory)
 {
     userManager     = usermanager;
     signInManager   = signinmanager;
     this.context    = context;
     identityContext = identitycontext;
     _logger         = loggerFactory.CreateLogger <UserController>();
 }
Exemple #2
0
 public AdminController(PatoDBContext context)
 {
     this.context = context;
 }