end point mesa
This commit is contained in:
@@ -10,6 +10,7 @@ export class MesaService {
|
|||||||
@InjectRepository(Mesa)
|
@InjectRepository(Mesa)
|
||||||
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