public AdministrationController(RoleManager <IdentityRole> roleManager, UserManager <Utilisateur> userManager, IUserService _UserService, ICommercantService _CommercantService, IFournisseurService _FournisseurService) { this.roleManager = roleManager; UserManager = userManager; userService = _UserService; commercantService = _CommercantService; fournisseurService = _FournisseurService; }
public ServiceController(UserManager <Utilisateur> userManager, ICommercantService _CommercantService, IUserService _UserService, IFournisseurService _FournisseurService, CountryService countryService, SignInManager <Utilisateur> signInManager, IWebHostEnvironment hostingEnvironment, TourMeContext context, RoleManager <IdentityRole> roleManager, ILogementextService _logementService, INourritureExtService _NourritureService, ITransportExtService _TransportExtService) { this.userManager = userManager; commercantService = _CommercantService; userService = _UserService; fournisseurService = _FournisseurService; this.signInManager = signInManager; this.hostingEnvironment = hostingEnvironment; this.roleManager = roleManager; logementService = _logementService; nourritureService = _NourritureService; transportExtService = _TransportExtService; AvailableCountries = countryService.GetCountries(); }
public AccountController(UserManager <Utilisateur> userManager, ICommercantService _CommercantService, SignInManager <Utilisateur> signInManager, IWebHostEnvironment hostingEnvironment, IUserService _UserService, CountryService countryService, TourMeContext context, RoleManager <IdentityRole> roleManager, ILogger <AccountController> logger, IEmailService emailService) { UserService = _UserService; this.countryService = countryService; this.hostingEnvironment = hostingEnvironment; this.userManager = userManager; commercantService = _CommercantService; this.signInManager = signInManager; AvailableCountries = countryService.GetCountries(); _context = context; this.roleManager = roleManager; this.logger = logger; this.emailService = emailService; }