File size: 408 Bytes
73566f6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { Injectable } from '@angular/core';

@Injectable({ providedIn: 'root' })
export class QuestionDataService {
 private questions: any[] = [];
 private caseDetails: any = {};

 setQuestions(questions: any[]) {
 this.questions = questions;
 }
 getQuestions() {
 return this.questions;
 }

 setCaseDetails(details: any) {
 this.caseDetails = details;
 }
 getCaseDetails() {
 return this.caseDetails;
 }
}