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