Exemplo n.º 1
0
 public ChatHub(UserManager <CWUser> userManager, CWServerDbContext dbContext)
 {
     this.userManager = userManager;
     this.dbContext   = dbContext;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JwtTokensRepository"/> class.
 /// </summary>
 /// <param name="context">The <see cref="CWServerDbContext"/>.</param>
 public JwtTokensRepository(CWServerDbContext context)
 {
     this.context = context;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SecurityAuditRepository"/> class.
 /// </summary>
 /// <param name="context">The <see cref="CWServerDbContext"/>.</param>
 public SecurityAuditRepository(CWServerDbContext context)
 {
     this.context = context;
 }