public RegisterModel( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, ILogger <RegisterModel> logger, IEmailSender emailSender, Online_Flight_IdentityContext _context, Online_Flight_BookingDataContext _dataContext ) { dataContext = _dataContext; _userManager = userManager; _signInManager = signInManager; _logger = logger; _emailSender = emailSender; var roleStore = new RoleStore <IdentityRole>(_context); _roleManager = new RoleManager <IdentityRole>(roleStore, null, null, null, null); }
public PassengersController(Online_Flight_BookingDataContext context) { _context = context; }
public FlightsController(Online_Flight_BookingDataContext context) { _context = context; }