public List <DrinkDTO> List() { return(_drinkRepository.List()); }
public List <DrinkDTO> GetAllDrinks() { var result = _drinkRepo.List().Select(d => ProjectToViewModel(d)).ToList(); return(result); }
public List <DrinkDTO> List() { return(_drinkRepository.List()); }
public List <DrinkDTO> GetAllDrinks() { var result = _drinkRepo.List().Select(d => ProjectToViewModel(d)).ToList(); return(result); }