import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { FamilyMember } from '../../entity/Member';
import { CrudService } from './crud.service';

const BASE_URL = (action: string = null) => { return `Member${(action ? `/${action}` : '')}` }
@Injectable({
  providedIn: 'root'
})
export class FamilyMemberService extends CrudService<FamilyMember> {
  constructor(protected http: HttpClient) {
    super(http, BASE_URL);
  }
}
