2020-10-02 12:46:12 -05:00
|
|
|
const Plantel = require('../../db/tables/Plantel')
|
|
|
|
|
|
|
|
|
|
const get = async () => {
|
2020-10-04 23:29:58 -05:00
|
|
|
return Plantel.findAll().then((res) => {
|
|
|
|
|
return { code: 200, data: res }
|
|
|
|
|
})
|
2020-10-02 12:46:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module.exports = get
|