public GamesController(LudothequeAccountContext context, UserManager <LudothequeUser> userManager) { this.userManager = userManager; _context = context; _gameService = new GamesService(context); _gameAllDataService = new GameAllDataService(context); }
public AdminController(LudothequeAccountContext context, RoleManager <IdentityRole> roleManager, UserManager <LudothequeUser> userManager) { this.roleManager = roleManager; this.userManager = userManager; _context = context; _gameService = new GamesService(context); _gameAllDataService = new GameAllDataService(context); }