/// <summary> /// AdminController /// </summary> /// <param name="context"></param> /// <param name="userRepository"></param> /// <param name="mapper"></param> /// <param name="settings"></param> public AdminController(AuthentiContext context, IUserRepository userRepository, IMapper mapper, IOptions <Settings> settings) { _context = context; _userRepository = userRepository; _mapper = mapper; _settings = settings.Value; }
/// <summary> /// UserRepository /// </summary> /// <param name="context"></param> public UserRepository(AuthentiContext context) { _context = context; }