return totalDto;
}
@Override
public void deleteAllFromList(String listId)
{
<BUG>List<ProductDto> productDtos = getAllProducts(listId);
</BUG>
Observable.from(productDtos)
.subscribe(dto -> deleteById(dto.getId()));
}

return totalDto;
}
@Override
public void deleteAllFromList(String listId)
{
List<ProductDto> productDtos = getAllProductsSync(listId);
Observable.from(productDtos)
.subscribe(dto -> deleteById(dto.getId()));
}
