コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// UserRepository
 /// </summary>
 /// <param name="context"></param>
 public UserRepository(AuthentiContext context)
 {
     _context = context;
 }