{"version":3,"mappings":"kHAAM,mECMC,IAAMA,EAAb,MAAM,QAEJC,YAAoBC,sBAEpBC,SAAc,mBAEdC,IAAIC,GACF,OAAOF,KAAKD,YAAYE,IAAI,GAAGD,KAAKG,iBAAiBD,KAGvDE,QAAQC,GAEN,OAAOL,KAAKD,YAAYE,IAAI,GAAGD,KAAKG,eAAeE,mDAZ1CR,GAAkBS,uCAAlBT,EAAkBU,QAAlBV,EAAkB,qBAFjB,SAEDA,GAAb","names":["TestimonialService","constructor","dataService","this","get","type","api","getById","id","i0","factory"],"sources":["./src/@core/models/testimonial.ts","./src/@core/services/testimonial.service.ts"],"sourcesContent":["export class Testimonial {\n id: number;\n name: string;\n department: string;\n jobTitle: string;\n image: string;\n description: string;\n status: string;\n sort: number;\n type: string;\n}\n","import { Injectable } from '@angular/core';\nimport { DataService } from './data.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class TestimonialService {\n\n constructor(private dataService: DataService) { }\n\n api: string = \"api/Testimonials\";\n\n get(type: string) {\n return this.dataService.get(`${this.api}/GetByType/${type}`);\n }\n\n getById(id: number) {\n \n return this.dataService.get(`${this.api}/GetById/${id}`);\n }\n}\n"],"sourceRoot":"webpack:///","file":"common.dc32553146bf7e7c.js"}