extract logic for determining boolean API response
add ListAll and Create methods for repositories