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