Ejemplo n.º 1
0
 public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager,
                          RoleManager <IdentityRole> roleManager, IMembershipDealRepository dealRepository, IWebHostEnvironment env, IAuthorizationService authorizationService)
 {
     this.userManager          = userManager;
     this.signInManager        = signInManager;
     this.roleManager          = roleManager;
     this.dealRepository       = dealRepository;
     this.env                  = env;
     this.authorizationService = authorizationService;
 }
Ejemplo n.º 2
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;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
 public PaymentController(IMembershipDealRepository dealRepository, UserManager <ApplicationUser> userManager)
 {
     this.dealRepository = dealRepository;
     this.userManager    = userManager;
 }