Ejemplo n.º 1
0
 public AccountServices(BiluthyrningABContext context, UserManager <MyIdentityUser> userManager,
                        SignInManager <MyIdentityUser> signInManager, RoleManager <IdentityRole> roleManager)
 {
     this.context       = context;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.roleManager   = roleManager;
 }
Ejemplo n.º 2
0
 public CarServices(BiluthyrningABContext context,
                    UserManager <MyIdentityUser> userManager,
                    SignInManager <MyIdentityUser> signInManager)
 {
     this.context       = context;
     this.userManager   = userManager;
     this.signInManager = signInManager;
 }
Ejemplo n.º 3
0
 public HomeController(AccountServices service, UserManager <MyIdentityUser> userManager,
                       SignInManager <MyIdentityUser> signInManager, CarServices carServices, IConfiguration config,
                       BiluthyrningABContext context)
 {
     this.service       = service;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.carServices   = carServices;
     Configuration      = config;
     this.context       = context;
 }