Exemplo n.º 1
0
 public UsersController(IAdminMaintainRepository repo, DataContext context, IMapper mapper, UserManager <User> userManager)
 {
     _userManager = userManager;
     _mapper      = mapper;
     _repo        = repo;
     _context     = context;
 }
Exemplo n.º 2
0
        public AuthController(
            IAdminMaintainRepository repo,
            DataContext context,
            IConfiguration config,
            IMapper mapper,
            SignInManager <User> signInManager,
            UserManager <User> userManager)

        {
            _userManager   = userManager;
            _repo          = repo;
            _context       = context;
            _config        = config;
            _mapper        = mapper;
            _signInManager = signInManager;
        }
Exemplo n.º 3
0
 public UsersController(IAdminMaintainRepository repo, IMapper mapper, UserManager <User> userManager)
 {
     _userManager = userManager;
     _mapper      = mapper;
     _repo        = repo;
 }