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; }
public AnställdController(HotellDbContext context) { _context = context; }
public HomeController(ILogger <HomeController> logger, HotellDbContext context) { _logger = logger; _context = context; }
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; }
public RumsController(HotellDbContext context) { _context = context; }
public OrdersController(HotellDbContext context) { _context = context; }