end point mesa
This commit is contained in:
@@ -11,6 +11,7 @@ export class MesaService {
|
|||||||
private readonly mesaRepository: Repository<Mesa>,
|
private readonly mesaRepository: Repository<Mesa>,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
|
|
||||||
async findAll(): Promise<Mesa[]> {
|
async findAll(): Promise<Mesa[]> {
|
||||||
return await this.mesaRepository.find();
|
return await this.mesaRepository.find();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user