public IActionResult GetAllFoods() { var foods = _foodRepository.GetAll(); return Ok(foods.Select(x => Mapper.Map<FoodItemViewModel>(x))); }