import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';

//import { Observable, throwError } from 'rxjs';
//import { catchError, retry } from 'rxjs/operators';

@Injectable({
  providedIn: 'root'
})
export class AnimeService {
  animeId: any;

  constructor(private http: HttpClient) { }

  getAll() {
    return this.http.get('api/anime/all');
  }
}



