예제 #1
0
 public UsersController(IUserRepository userRepository, IUserInRoleRepository userInRoleRepository,
                        vijayContext context, IOptions <AppSettings> appSettings)
 {
     _userRepository       = userRepository;
     _userInRoleRepository = userInRoleRepository;
     _context     = context;
     _appSettings = appSettings.Value;
     _encryption  = new Encryption();
 }
예제 #2
0
 public ValuesController(vijayContext context)
 {
     _context = context;
 }
예제 #3
0
 public UserService(IUserRepository userRepository, vijayContext context)
 {
     UserRepository = userRepository;
     Context        = context;
 }