text: const Connection = require('../Database/connection');
  
  module.exports={
     async Create(request,response){
         const {id} =  request.body;
  
         const ong = await Connection('ongs')
         .where('id',id)
         .select('name')
         .first();
  
         if (!ong){
             return response.status(400).json({error:'No ONG foung with this ID'});
          }
  
          return response.json(ong);
     }
  };