estatesfunding/ef-api/routes/fundDetails.js

11 lines
255 B
JavaScript

import express from 'express';
const router = express.Router();
import { submitFundDetails, getFundDetailsById } from '../controllers/fundDetails.js';
router.post('/', submitFundDetails);
router.get("/:id", getFundDetailsById);
export default router;