File

src/app/modules/public/module/help/services/faq/faq.service.ts

Index

Methods

Constructor

constructor(learnerService: LearnerService, config: ConfigService)
Parameters :
Name Type Optional
learnerService LearnerService No
config ConfigService No

Methods

Public getFaqJSON
getFaqJSON()
Returns : any
import { Injectable } from '@angular/core';
import { LearnerService } from '@sunbird/core';
import { ConfigService } from '@sunbird/shared';

@Injectable({
  providedIn: 'root'
})
export class FaqService {

  constructor(private learnerService: LearnerService, private config: ConfigService) { }

  public getFaqJSON() {
    const systemSetting = {
      url: this.config.urlConFig.URLS.SYSTEM_SETTING.FAQ_URL,
    };
    return this.learnerService.get(systemSetting);
  }
}

results matching ""

    No results matching ""