public async Task <Pizza> GetPizzaWithIngredientsAsync(int id) { var spec = new PizzaWithIngredientsSpecification(id); return(await GetByIdAsync(spec)); }
public async Task <IReadOnlyList <Pizza> > GetPizzasWithIngredientsAsync() { var spec = new PizzaWithIngredientsSpecification(); return(await GetAsync(spec)); }