Ejemplo n.º 1
0
 public ManageModel(ApplicationDbContext context, UserManager <Lodger> userManager, RoleManager <LodgerRole> roleManager, SignInManager <Lodger> signInManager)
 {
     _context       = context;
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
 }
Ejemplo n.º 2
0
 public EditListingModel(SSDAssignment40.Data.ApplicationDbContext context, IHostingEnvironment environment, UserManager <Lodger> user, IVirusScanner virusScanner)
 {
     _context      = context;
     _environment  = environment;
     userManager   = user;
     _virusScanner = virusScanner;
 }
Ejemplo n.º 3
0
 public DetailsModelBooking(SSDAssignment40.Data.ApplicationDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public DetailsModel(SSDAssignment40.Data.ApplicationDbContext context, UserManager <Lodger> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
Ejemplo n.º 5
0
 public CreateModel(SSDAssignment40.Data.ApplicationDbContext context)
 {
     _context = context;
 }
 public EditReviewModel(SSDAssignment40.Data.ApplicationDbContext context, UserManager <Lodger> user)
 {
     _context    = context;
     userManager = user;
 }
Ejemplo n.º 7
0
 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;
 }