class FoodMapServiceImpl implements FoodMapService {

    @Override
    public Response listFoodStores(HttpHeaders headers) {
        List<FoodStore> foodStores = foodStoreRepository.findAll();
        if (foodStores != null && !foodStores.isEmpty()) {
            return new Response<>(1, success, foodStores);
        } else {
            return new Response<>(0, "Foodstore is empty", null);
        }
    }

}