Пример #1
0
 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;
 }
Пример #2
0
 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;
 }