public ProfilesController(RentalHubContext context, UserManager <User> userManager,
                           RoleManager <IdentityRole> roleManager)
 {
     _context     = context;
     _roleManager = roleManager;
     _userManager = userManager;
 }
Пример #2
0
 public AuthenticationController(RentalHubContext context, UserManager <User> userManager, SignInManager <User> signInManager, RoleManager <IdentityRole> roleManager, IConfiguration configuration)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _roleManager   = roleManager;
     _configuration = configuration;
     _context       = context;
 }
Пример #3
0
 public RentersController(RentalHubContext context)
 {
     _context = context;
 }
Пример #4
0
 public PropertiesController(RentalHubContext context)
 {
     _context = context;
 }