public async Task <ActionResult <List <IngredientesDTO> > > Get() { var list = await _repository.GetAllDto(); if (list.Count == 0) { return(NotFound()); } return(list); }
public async Task <ActionResult <List <IngredientesDTO> > > Get() { var list = await _repository.GetAllDto(); if (list.Count == 0) { return(NotFound()); } return(list); }