| .. | .. |
|---|
| 2 | 2 | import { Injectable } from '@angular/core'; |
|---|
| 3 | 3 | import { Http, RequestOptions } from '@angular/http'; |
|---|
| 4 | 4 | import { SeCurisResourceServices } from './base'; |
|---|
| 5 | +import { LocaleService } from '../common/i18n'; |
|---|
| 5 | 6 | |
|---|
| 6 | 7 | var lictype_example = { application_name: 'CurisIntegrity', |
|---|
| 7 | 8 | code: 'CIA2', |
|---|
| .. | .. |
|---|
| 14 | 15 | |
|---|
| 15 | 16 | @Injectable() |
|---|
| 16 | 17 | export class LicenseTypesService extends SeCurisResourceServices { |
|---|
| 17 | | - constructor(http: Http) { |
|---|
| 18 | | - super(http, 'licensetype'); |
|---|
| 18 | + constructor(http: Http, $L: LocaleService) { |
|---|
| 19 | + super($L, http, 'licensetype'); |
|---|
| 19 | 20 | } |
|---|
| 20 | 21 | |
|---|
| 21 | 22 | |
|---|