Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
        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;
        }