public ChatHub(UserManager <CWUser> userManager, CWServerDbContext dbContext) { this.userManager = userManager; this.dbContext = dbContext; }
/// <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; }
/// <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; }