public async Task <IActionResult> GetAll() { return(Ok(await _ingredientsRepository.GetAll())); }
public async Task<List<Ingredient>> Handle(GetIngredientsQuery query) { return await _ingredientsRepository.GetAll(); }
public async Task <IList <IngredientOnStock> > GetAll() { return(await _ingredientsRepository.GetAll()); }
public List <Ingredient> GetAll() { return(ingredientsRepository.GetAll()); }