Ejemplo n.º 1
0
 public async Task <IActionResult> GetAll()
 {
     return(Ok(await _ingredientsRepository.GetAll()));
 }
Ejemplo n.º 2
0
 public async Task<List<Ingredient>> Handle(GetIngredientsQuery query)
 {
     return await _ingredientsRepository.GetAll();
 }
Ejemplo n.º 3
0
 public async Task <IList <IngredientOnStock> > GetAll()
 {
     return(await _ingredientsRepository.GetAll());
 }
Ejemplo n.º 4
0
 public List <Ingredient> GetAll()
 {
     return(ingredientsRepository.GetAll());
 }