public AdminController(IGymRepository gymRepository, IOpenHoursRepository openHoursRepository, IVacancyRepository vacancyRepository, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IMembershipDealRepository dealRepository, IAttendanceRepository attendanceRepository) { this.gymRepository = gymRepository; this.openHoursRepository = openHoursRepository; this.vacancyRepository = vacancyRepository; this.userManager = userManager; this.signInManager = signInManager; this.dealRepository = dealRepository; this.attendanceRepository = attendanceRepository; }
public HomeController(IGymRepository gymRepository, IOpenHoursRepository openHoursRepository, IVacancyRepository vacancyRepository, IFreePassRepository freePassRepository, IWebHostEnvironment env, IMembershipDealRepository dealRepository) { this.gymRepository = gymRepository; this.openHoursRepository = openHoursRepository; this.vacancyRepository = vacancyRepository; this.freePassRepository = freePassRepository; this.env = env; this.dealRepository = dealRepository; this.gymRepository = gymRepository; }