Example #1
0
 public DeleteModel(ThemeParkDatabase.Models.ThemeParkDatabaseContext context,
                    ThemeParkDatabase.Data.ApplicationDbContext appContext,
                    UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _appContext  = appContext;
     _userManager = userManager;
 }
Example #2
0
 public CreateModel(ThemeParkDatabase.Models.ThemeParkDatabaseContext context,
                    ThemeParkDatabase.Data.ApplicationDbContext appContext,
                    UserManager <ApplicationUser> userManager,
                    IServiceProvider service)
 {
     _context     = context;
     _appContext  = appContext;
     _userManager = userManager;
     _service     = service;
 }
Example #3
0
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IServiceProvider service,
     ILogger <LoginModel> logger,
     IEmailSender emailSender,
     ThemeParkDatabase.Data.ApplicationDbContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _service       = service;
     _logger        = logger;
     _emailSender   = emailSender;
     _context       = context;
 }