public HorrairesController(TutoratCoreContext context, UserManager <AspNetUsers> userManager, SignInManager <AspNetUsers> signInManager)
 {
     _context       = context;
     _userManager   = userManager;
     _signInManager = signInManager;
 }
 // injection du user manager et le sign in afin de faire les vérification et retourner les bonnes données
 public CommunicationsController(TutoratCoreContext context, UserManager <AspNetUsers> userManager, SignInManager <AspNetUsers> signInManager)
 {
     _context       = context;
     _userManager   = userManager;
     _signInManager = signInManager;
 }
 public CategoriesController(TutoratCoreContext context)
 {
     _context = context;
 }
Example #4
0
 public HomeController(ILogger <HomeController> logger, TutoratCoreContext context)
 {
     _logger      = logger;
     this.context = context;
 }
Example #5
0
 public SuperAdminController(TutoratCoreContext context, RoleManager <IdentityRole> roleManager, UserManager <AspNetUsers> userManager)
 {
     this.context = context;
     _roleManager = roleManager;
     _userManager = userManager;
 }
 public CommentsController(TutoratCoreContext context)
 {
     _context = context;
 }