public AuthenticateService(AuthExampleContext dbContext) { _context = dbContext; }
public ContentDataTransfer(AuthExampleContext context, IHttpContextAccessor httpContext) { db = context; contextAccessor = httpContext; }
public Program() { _dbContext = new AuthExampleContext(); _authenticateService = new AuthenticateService(_dbContext); }