public MessagesService(ChatIncDbContext context) { this.context = context; }
public UserService(IOptions <AppSettings> appSettings, ChatIncDbContext db) { _appSettings = appSettings.Value; _db = db; }
public MessagesController(ChatIncDbContext context) { this.context = context; }
public UsersController(ChatIncDbContext context, IOptions <JwtSettings> jwtSettings) { this.context = context; this.jwtSettings = jwtSettings.Value; }