duck-booking-tool-front/app/duck.service.ts

12 lines
240 B
TypeScript
Raw Normal View History

import { Injectable } from "@angular/core";
import { Duck } from "./models";
import { DUCKS } from "./mocked-data";
@Injectable()
export class DuckService {
getDucks(): Promise<Duck[]> {
return Promise.resolve(DUCKS);
}
}