You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daidokoro/daidokoro/src/app/service/recipe.service.ts

16 lines
278 B

import { Injectable } from '@angular/core';
import {Recipe} from "../model/recipe.model";
import {$RECEPIES} from "../data/recipe.stub";
@Injectable({
providedIn: 'root'
})
export class RecipeService {
constructor() { }
getAll() : Recipe[]{
return $RECEPIES;
}
}