Last active
April 20, 2022 11:43
-
-
Save henryruhs/07dea30c244d8be8f284878ce375f087 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { CrudService } from 'ngx-crud'; | |
import { RequestBody, ResponseBody } from './example.interface'; | |
import { environment } from '@env'; | |
@Injectable() | |
export class ExampleService extends CrudService<RequestBody, ResponseBody> | |
{ | |
protected apiUrl : string = environment.apiUrl; | |
protected endpoint : string = environment.routes.example; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment