text: module.exports = class Service {
      constructor(model) {
          this.model = model
      }
  
      async findAll() {
          return this.model.find()
      }
  
      async add(item) {
          return this.model.create(item)
      }
  
      async del(itemId) {
          return this.model.deleteOne({ _id: itemId })
      }
  
      async find(itemId = 1){
          return this.model.findById(itemId)
      }
  }
  