agregar servicios de encuesta

para eventualmente 'eliminar' la categoria de las encuestas que la
contengan
This commit is contained in:
Eduardo Quiros 2021-07-16 18:23:03 -06:00
parent 6a25173ad8
commit 530340ada6
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { EncuestaService } from 'app/entities/encuesta/service/encuesta.service';
import { EstadoCategoria } from 'app/entities/enumerations/estado-categoria.model'; import { EstadoCategoria } from 'app/entities/enumerations/estado-categoria.model';
import { ICategoria } from '../categoria.model'; import { ICategoria } from '../categoria.model';
@ -11,7 +12,11 @@ import { CategoriaService } from '../service/categoria.service';
export class CategoriaDeleteDialogComponent { export class CategoriaDeleteDialogComponent {
categoria?: ICategoria; categoria?: ICategoria;
constructor(protected categoriaService: CategoriaService, protected activeModal: NgbActiveModal) {} constructor(
protected categoriaService: CategoriaService,
protected activeModal: NgbActiveModal,
protected encuestaService: EncuestaService
) {}
cancel(): void { cancel(): void {
this.activeModal.dismiss(); this.activeModal.dismiss();