class OrderOtherServiceImpl implements OrderOtherService {

    @Override
    public Response getAllOrders(HttpHeaders headers) {
        ArrayList<Order> orders = orderOtherRepository.findAll();
        if (orders == null) {
            return new Response<>(0, "No Content", null);
        } else {
            return new Response<>(1, success, orders);
        }
    }

}