public ManageModel(ApplicationDbContext context, UserManager <Lodger> userManager, RoleManager <LodgerRole> roleManager, SignInManager <Lodger> signInManager)
 {
     _context       = context;
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
 }
Beispiel #2
0
 public EditListingModel(SSDAssignment40.Data.ApplicationDbContext context, IHostingEnvironment environment, UserManager <Lodger> user, IVirusScanner virusScanner)
 {
     _context      = context;
     _environment  = environment;
     userManager   = user;
     _virusScanner = virusScanner;
 }
Beispiel #3
0
 public DetailsModelBooking(SSDAssignment40.Data.ApplicationDbContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public DetailsModel(SSDAssignment40.Data.ApplicationDbContext context, UserManager <Lodger> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
Beispiel #5
0
 public CreateModel(SSDAssignment40.Data.ApplicationDbContext context)
 {
     _context = context;
 }
 public EditReviewModel(SSDAssignment40.Data.ApplicationDbContext context, UserManager <Lodger> user)
 {
     _context    = context;
     userManager = user;
 }
 public ListingsModel(SSDAssignment40.Data.ApplicationDbContext context)
 {
     _context = context;
 }
 public CreateListingModel(SSDAssignment40.Data.ApplicationDbContext context, IHostingEnvironment environment, UserManager <Lodger> user)
 {
     _context     = context;
     _environment = environment;
     userManager  = user;
 }