"use strict";

"use strict";

class  TagManager {
  constructor(topicId) {
    this.topicId = topicId;
  }
  
  addTag(tagName) {
    API.createTag(tagName, this.topicId);
  }
  
  removeTag(tagName) {
    API.deleteTag(tagName, this.topicId);
  }
}
Add TagManager class in new class way
Add TagManager class in new class way
