text: import serviceCadastro from "../services/Cadastro.services.js";
  
  export default async function createCadastro(req, res) {
    try {
      let cadastro = req.body;
      const retorno = await serviceCadastro(cadastro);
      res.render("cadastroSucesso");
    } catch (error) {
      console.log(error);
    }
  };