21 lines
347 B
TypeScript
21 lines
347 B
TypeScript
import { IGroceryList } from "../schemas";
|
|
import { GroceryList } from "../models/groceryList";
|
|
const GroceryInstance = new GroceryList();
|
|
|
|
export default class GroceryListCtl {
|
|
async getAll() {
|
|
|
|
}
|
|
|
|
async getOne(id: string) {
|
|
|
|
}
|
|
|
|
async post(data: IGroceryList) {
|
|
|
|
}
|
|
|
|
async put(id: string, data: IGroceryList) {
|
|
|
|
}
|
|
} |