private void checkIfCustomerExists(int id) {
		Customer customerWithId = manager.getCustomerWithId(id);
		if (customerWithId == null) {
			throw new WebApplicationException(Response.status(Status.NOT_FOUND)
					.entity("Customer with id " + id + " not found").build());
		}
	}