import { Injectable } from '@angular/core' ; import { AbstractService } from 'src/app/services/abstract' ; import { UserNormalizerApplication , UserSerializerApplication , } from 'src/app/model/User' ; import { HttpClient } from '@angular/common/http' ; @ Injectable ( ) export class UsersService extends AbstractService { public serializer = new UserSerializerApplication ( ) ; public normalizer = new UserNormalizerApplication ( ) ; protected endpoint = 'users' ; constructor ( protected http ) { super ( http ) ; } }