public AuthController(StreetContext xjpContext, IJwtFactory jwtFactory, IOptions <JwtIssuerOptions> jwtOptions, IUserService userService, IMemoryCache cache) { _jwtFactory = jwtFactory; _jwtOptions = jwtOptions.Value; _userService = userService; _cache = cache; _repository = new XjpRepository(xjpContext); }
public PersonController(StreetContext xjpContext) //StreetContext context { _context = xjpContext; // new StreetContext(); _repository = new XjpRepository(_context); }