public AdministrationController(ApplicationDbContext dbContext, IUserService userService, IStaysService staysService, UserManager<ApplicationUser> userManager, IHotelService hotelService)
 {
     this.db = dbContext;
     this.userService = userService;
     this.staysService = staysService;
     this.userManager = userManager;
     this.hotelService = hotelService;
 }
예제 #2
0
 public RewardsController(UserManager <ApplicationUser> userManager, IUserService userService, IStaysService staysService)
 {
     this.userManager  = userManager;
     this.staysService = staysService;
 }