public ClientController(ISportObjectRepository sportObjectRepository, IWebHostEnvironment webHostEnvironment, UserManager <IdentityUser> userManager, ITournamentRepository tournamentRepository, ISportSchoolRepository sportSchoolRepository) { this.sportObjectRepository = sportObjectRepository; this.webHostEnvironment = webHostEnvironment; this.userManager = userManager; this.tournamentRepository = tournamentRepository; this.sportSchoolRepository = sportSchoolRepository; }
public AdministrationController(ISportObjectRepository sportObjectRepository, ITournamentRepository tournamentRepository, ISportSchoolRepository sportSchoolRepository, IWebHostEnvironment webHostEnvironment, RoleManager <IdentityRole> roleManager, UserManager <IdentityUser> userManager, ILogger <AdministrationController> logger) { this.sportObjectRepository = sportObjectRepository; this.tournamentRepository = tournamentRepository; this.sportSchoolRepository = sportSchoolRepository; this.webHostEnvironment = webHostEnvironment; this.roleManager = roleManager; this.userManager = userManager; this.logger = logger; }
public SportObjectController(ISportObjectRepository sportObjectRepository) { this.sportObjectRepository = sportObjectRepository; }