public RegisterModel(
     UserManager <Användare> userManager,
     SignInManager <Användare> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender,
     RoleManager <IdentityRole> roleManager,
     HotellDbContext context
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailSender   = emailSender;
     _roleManager   = roleManager;
     _context       = context;
 }
예제 #2
0
 public AnställdController(HotellDbContext context)
 {
     _context = context;
 }
 public HomeController(ILogger <HomeController> logger, HotellDbContext context)
 {
     _logger  = logger;
     _context = context;
 }
예제 #4
0
 public BokningsController(HotellDbContext context)
 {
     _context = context;
 }
 public BokningsController(HotellDbContext context, UserManager <Användare> userManager, SignInManager <Användare> signInManager)
 {
     _context       = context;
     _userManager   = userManager;
     _signInManager = signInManager;
 }
 public GästController(HotellDbContext context)
 {
     _context = context;
 }
예제 #7
0
 public RumsController(HotellDbContext context)
 {
     _context = context;
 }
예제 #8
0
 public OrdersController(HotellDbContext context)
 {
     _context = context;
 }