services
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { Repository } from 'typeorm';
|
||||
import { InjectRepository } from '@nestjs/typeorm';
|
||||
import { Programa } from './programa.entity';
|
||||
|
||||
@Injectable()
|
||||
export class ProgramaService {}
|
||||
export class ProgramaService {
|
||||
constructor(
|
||||
@InjectRepository(Programa) private repository: Repository<Programa>,
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user